3 #define PY_SSIZE_T_CLEAN
4 #ifndef CYTHON_USE_PYLONG_INTERNALS
5 #ifdef PYLONG_BITS_IN_DIGIT
6 #define CYTHON_USE_PYLONG_INTERNALS 0
9 #ifdef PYLONG_BITS_IN_DIGIT
10 #define CYTHON_USE_PYLONG_INTERNALS 1
12 #define CYTHON_USE_PYLONG_INTERNALS 0
18 #error Python headers needed to compile C extensions, please install development version of Python.
19 #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
20 #error Cython requires Python 2.6+ or Python 3.2+.
22 #define CYTHON_ABI "0_22"
25 #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
27 #if !defined(WIN32) && !defined(MS_WINDOWS)
39 #define DL_IMPORT(t) t
42 #define DL_EXPORT(t) t
45 #define PY_LONG_LONG LONG_LONG
48 #define Py_HUGE_VAL HUGE_VAL
51 #define CYTHON_COMPILING_IN_PYPY 1
52 #define CYTHON_COMPILING_IN_CPYTHON 0
54 #define CYTHON_COMPILING_IN_PYPY 0
55 #define CYTHON_COMPILING_IN_CPYTHON 1
57 #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
58 #define Py_OptimizeFlag 0
60 #define __PYX_BUILD_PY_SSIZE_T "n"
61 #define CYTHON_FORMAT_SSIZE_T "z"
62 #if PY_MAJOR_VERSION < 3
63 #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
64 #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
65 PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
66 #define __Pyx_DefaultClassType PyClass_Type
68 #define __Pyx_BUILTIN_MODULE_NAME "builtins"
69 #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
70 PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
71 #define __Pyx_DefaultClassType PyType_Type
73 #if PY_MAJOR_VERSION >= 3
74 #define Py_TPFLAGS_CHECKTYPES 0
75 #define Py_TPFLAGS_HAVE_INDEX 0
76 #define Py_TPFLAGS_HAVE_NEWBUFFER 0
78 #if PY_VERSION_HEX < 0x030400a1 && !defined(Py_TPFLAGS_HAVE_FINALIZE)
79 #define Py_TPFLAGS_HAVE_FINALIZE 0
81 #if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
82 #define CYTHON_PEP393_ENABLED 1
83 #define __Pyx_PyUnicode_READY(op) (likely(PyUnicode_IS_READY(op)) ? \
84 0 : _PyUnicode_Ready((PyObject *)(op)))
85 #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_LENGTH(u)
86 #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
87 #define __Pyx_PyUnicode_KIND(u) PyUnicode_KIND(u)
88 #define __Pyx_PyUnicode_DATA(u) PyUnicode_DATA(u)
89 #define __Pyx_PyUnicode_READ(k, d, i) PyUnicode_READ(k, d, i)
91 #define CYTHON_PEP393_ENABLED 0
92 #define __Pyx_PyUnicode_READY(op) (0)
93 #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_SIZE(u)
94 #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
95 #define __Pyx_PyUnicode_KIND(u) (sizeof(Py_UNICODE))
96 #define __Pyx_PyUnicode_DATA(u) ((void*)PyUnicode_AS_UNICODE(u))
97 #define __Pyx_PyUnicode_READ(k, d, i) ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
99 #if CYTHON_COMPILING_IN_PYPY
100 #define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b)
101 #define __Pyx_PyUnicode_ConcatSafe(a, b) PyNumber_Add(a, b)
102 #define __Pyx_PyFrozenSet_Size(s) PyObject_Size(s)
104 #define __Pyx_PyUnicode_Concat(a, b) PyUnicode_Concat(a, b)
105 #define __Pyx_PyUnicode_ConcatSafe(a, b) ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ? \
106 PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
107 #define __Pyx_PyFrozenSet_Size(s) PySet_Size(s)
109 #define __Pyx_PyString_FormatSafe(a, b) ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
110 #define __Pyx_PyUnicode_FormatSafe(a, b) ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
111 #if PY_MAJOR_VERSION >= 3
112 #define __Pyx_PyString_Format(a, b) PyUnicode_Format(a, b)
114 #define __Pyx_PyString_Format(a, b) PyString_Format(a, b)
116 #if PY_MAJOR_VERSION >= 3
117 #define PyBaseString_Type PyUnicode_Type
118 #define PyStringObject PyUnicodeObject
119 #define PyString_Type PyUnicode_Type
120 #define PyString_Check PyUnicode_Check
121 #define PyString_CheckExact PyUnicode_CheckExact
123 #if PY_MAJOR_VERSION >= 3
124 #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
125 #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
127 #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
128 #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
130 #ifndef PySet_CheckExact
131 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
133 #define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
134 #if PY_MAJOR_VERSION >= 3
135 #define PyIntObject PyLongObject
136 #define PyInt_Type PyLong_Type
137 #define PyInt_Check(op) PyLong_Check(op)
138 #define PyInt_CheckExact(op) PyLong_CheckExact(op)
139 #define PyInt_FromString PyLong_FromString
140 #define PyInt_FromUnicode PyLong_FromUnicode
141 #define PyInt_FromLong PyLong_FromLong
142 #define PyInt_FromSize_t PyLong_FromSize_t
143 #define PyInt_FromSsize_t PyLong_FromSsize_t
144 #define PyInt_AsLong PyLong_AsLong
145 #define PyInt_AS_LONG PyLong_AS_LONG
146 #define PyInt_AsSsize_t PyLong_AsSsize_t
147 #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask
148 #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
149 #define PyNumber_Int PyNumber_Long
151 #if PY_MAJOR_VERSION >= 3
152 #define PyBoolObject PyLongObject
154 #if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
155 #ifndef PyUnicode_InternFromString
156 #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
159 #if PY_VERSION_HEX < 0x030200A4
160 typedef long Py_hash_t;
161 #define __Pyx_PyInt_FromHash_t PyInt_FromLong
162 #define __Pyx_PyInt_AsHash_t PyInt_AsLong
164 #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
165 #define __Pyx_PyInt_AsHash_t PyInt_AsSsize_t
167 #if PY_MAJOR_VERSION >= 3
168 #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
170 #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
172 #ifndef CYTHON_INLINE
173 #if defined(__GNUC__)
174 #define CYTHON_INLINE __inline__
175 #elif defined(_MSC_VER)
176 #define CYTHON_INLINE __inline
177 #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
178 #define CYTHON_INLINE inline
180 #define CYTHON_INLINE
183 #ifndef CYTHON_RESTRICT
184 #if defined(__GNUC__)
185 #define CYTHON_RESTRICT __restrict__
186 #elif defined(_MSC_VER) && _MSC_VER >= 1400
187 #define CYTHON_RESTRICT __restrict
188 #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
189 #define CYTHON_RESTRICT restrict
191 #define CYTHON_RESTRICT
195 #define __PYX_NAN() ((float) NAN)
197 static CYTHON_INLINE
float __PYX_NAN() {
202 memset(&value, 0xFF,
sizeof(value));
206 #define __Pyx_void_to_None(void_result) (void_result, Py_INCREF(Py_None), Py_None)
209 void __Pyx_call_destructor(T* x) {
213 class __Pyx_FakeReference {
215 __Pyx_FakeReference() : ptr(NULL) { }
216 __Pyx_FakeReference(T& ref) : ptr(&ref) { }
217 T *operator->() {
return ptr; }
218 operator T&() {
return *ptr; }
225 #if PY_MAJOR_VERSION >= 3
226 #define __Pyx_PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y)
227 #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceTrueDivide(x,y)
229 #define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
230 #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
233 #ifndef __PYX_EXTERN_C
235 #define __PYX_EXTERN_C extern "C"
237 #define __PYX_EXTERN_C extern
241 #if defined(WIN32) || defined(MS_WINDOWS)
242 #define _USE_MATH_DEFINES
245 #define __PYX_HAVE__espressomd__interactions
246 #define __PYX_HAVE_API__espressomd__interactions
251 #include "numpy/arrayobject.h"
252 #include "numpy/ufuncobject.h"
279 #ifdef PYREX_WITHOUT_ASSERTIONS
280 #define CYTHON_WITHOUT_ASSERTIONS
283 #ifndef CYTHON_UNUSED
284 # if defined(__GNUC__)
285 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
286 # define CYTHON_UNUSED __attribute__ ((__unused__))
288 # define CYTHON_UNUSED
290 # elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
291 # define CYTHON_UNUSED __attribute__ ((__unused__))
293 # define CYTHON_UNUSED
296 typedef struct {PyObject **p;
char *s;
const Py_ssize_t n;
const char* encoding;
297 const char is_unicode;
const char is_str;
const char intern; } __Pyx_StringTabEntry;
299 #define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
300 #define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0
301 #define __PYX_DEFAULT_STRING_ENCODING ""
302 #define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
303 #define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
304 #define __Pyx_fits_Py_ssize_t(v, type, is_signed) ( \
305 (sizeof(type) < sizeof(Py_ssize_t)) || \
306 (sizeof(type) > sizeof(Py_ssize_t) && \
307 likely(v < (type)PY_SSIZE_T_MAX || \
308 v == (type)PY_SSIZE_T_MAX) && \
309 (!is_signed || likely(v > (type)PY_SSIZE_T_MIN || \
310 v == (type)PY_SSIZE_T_MIN))) || \
311 (sizeof(type) == sizeof(Py_ssize_t) && \
312 (is_signed || likely(v < (type)PY_SSIZE_T_MAX || \
313 v == (type)PY_SSIZE_T_MAX))) )
314 static CYTHON_INLINE
char* __Pyx_PyObject_AsString(PyObject*);
315 static CYTHON_INLINE
char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
316 #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
317 #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
318 #define __Pyx_PyBytes_FromString PyBytes_FromString
319 #define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
320 static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(
const char*);
321 #if PY_MAJOR_VERSION < 3
322 #define __Pyx_PyStr_FromString __Pyx_PyBytes_FromString
323 #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
325 #define __Pyx_PyStr_FromString __Pyx_PyUnicode_FromString
326 #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
328 #define __Pyx_PyObject_AsSString(s) ((signed char*) __Pyx_PyObject_AsString(s))
329 #define __Pyx_PyObject_AsUString(s) ((unsigned char*) __Pyx_PyObject_AsString(s))
330 #define __Pyx_PyObject_FromCString(s) __Pyx_PyObject_FromString((const char*)s)
331 #define __Pyx_PyBytes_FromCString(s) __Pyx_PyBytes_FromString((const char*)s)
332 #define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
333 #define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
334 #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
335 #if PY_MAJOR_VERSION < 3
336 static CYTHON_INLINE
size_t __Pyx_Py_UNICODE_strlen(
const Py_UNICODE *u)
338 const Py_UNICODE *u_end = u;
340 return (
size_t)(u_end - u - 1);
343 #define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
345 #define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
346 #define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
347 #define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
348 #define __Pyx_Owned_Py_None(b) (Py_INCREF(Py_None), Py_None)
349 #define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
350 static CYTHON_INLINE
int __Pyx_PyObject_IsTrue(PyObject*);
351 static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
352 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
353 static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(
size_t);
354 #if CYTHON_COMPILING_IN_CPYTHON
355 #define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
357 #define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
359 #define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
360 #if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
361 static int __Pyx_sys_getdefaultencoding_not_ascii;
362 static int __Pyx_init_sys_getdefaultencoding_params(
void) {
364 PyObject* default_encoding = NULL;
365 PyObject* ascii_chars_u = NULL;
366 PyObject* ascii_chars_b = NULL;
367 const char* default_encoding_c;
368 sys = PyImport_ImportModule(
"sys");
370 default_encoding = PyObject_CallMethod(sys, (
char*)
"getdefaultencoding", NULL);
372 if (!default_encoding)
goto bad;
373 default_encoding_c = PyBytes_AsString(default_encoding);
374 if (!default_encoding_c)
goto bad;
375 if (strcmp(default_encoding_c,
"ascii") == 0) {
376 __Pyx_sys_getdefaultencoding_not_ascii = 0;
378 char ascii_chars[128];
380 for (c = 0; c < 128; c++) {
383 __Pyx_sys_getdefaultencoding_not_ascii = 1;
384 ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
385 if (!ascii_chars_u)
goto bad;
386 ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
387 if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
390 "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
394 Py_DECREF(ascii_chars_u);
395 Py_DECREF(ascii_chars_b);
397 Py_DECREF(default_encoding);
400 Py_XDECREF(default_encoding);
401 Py_XDECREF(ascii_chars_u);
402 Py_XDECREF(ascii_chars_b);
406 #if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
407 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
409 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
410 #if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
411 static char* __PYX_DEFAULT_STRING_ENCODING;
412 static int __Pyx_init_sys_getdefaultencoding_params(
void) {
414 PyObject* default_encoding = NULL;
415 char* default_encoding_c;
416 sys = PyImport_ImportModule(
"sys");
418 default_encoding = PyObject_CallMethod(sys, (
char*) (
const char*)
"getdefaultencoding", NULL);
420 if (!default_encoding)
goto bad;
421 default_encoding_c = PyBytes_AsString(default_encoding);
422 if (!default_encoding_c)
goto bad;
423 __PYX_DEFAULT_STRING_ENCODING = (
char*)
malloc(strlen(default_encoding_c));
424 if (!__PYX_DEFAULT_STRING_ENCODING)
goto bad;
425 strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
426 Py_DECREF(default_encoding);
429 Py_XDECREF(default_encoding);
437 #if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
438 #define likely(x) __builtin_expect(!!(x), 1)
439 #define unlikely(x) __builtin_expect(!!(x), 0)
441 #define likely(x) (x)
442 #define unlikely(x) (x)
445 static PyObject *__pyx_m;
446 static PyObject *__pyx_d;
447 static PyObject *__pyx_b;
448 static PyObject *__pyx_empty_tuple;
449 static PyObject *__pyx_empty_bytes;
450 static int __pyx_lineno;
451 static int __pyx_clineno = 0;
452 static const char * __pyx_cfilenm= __FILE__;
453 static const char *__pyx_filename;
455 #if !defined(CYTHON_CCOMPLEX)
456 #if defined(__cplusplus)
457 #define CYTHON_CCOMPLEX 1
458 #elif defined(_Complex_I)
459 #define CYTHON_CCOMPLEX 1
461 #define CYTHON_CCOMPLEX 0
471 #if CYTHON_CCOMPLEX && !defined(__cplusplus) && defined(__sun__) && defined(__GNUC__)
473 #define _Complex_I 1.0fj
477 static const char *__pyx_f[] = {
478 "espressomd/interactions.pyx",
490 typedef npy_int8 __pyx_t_5numpy_int8_t;
499 typedef npy_int16 __pyx_t_5numpy_int16_t;
508 typedef npy_int32 __pyx_t_5numpy_int32_t;
517 typedef npy_int64 __pyx_t_5numpy_int64_t;
526 typedef npy_uint8 __pyx_t_5numpy_uint8_t;
535 typedef npy_uint16 __pyx_t_5numpy_uint16_t;
544 typedef npy_uint32 __pyx_t_5numpy_uint32_t;
553 typedef npy_uint64 __pyx_t_5numpy_uint64_t;
562 typedef npy_float32 __pyx_t_5numpy_float32_t;
571 typedef npy_float64 __pyx_t_5numpy_float64_t;
580 typedef npy_long __pyx_t_5numpy_int_t;
589 typedef npy_longlong __pyx_t_5numpy_long_t;
598 typedef npy_longlong __pyx_t_5numpy_longlong_t;
607 typedef npy_ulong __pyx_t_5numpy_uint_t;
616 typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
625 typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
634 typedef npy_intp __pyx_t_5numpy_intp_t;
643 typedef npy_uintp __pyx_t_5numpy_uintp_t;
652 typedef npy_double __pyx_t_5numpy_float_t;
661 typedef npy_double __pyx_t_5numpy_double_t;
670 typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
673 typedef ::std::complex< float > __pyx_t_float_complex;
675 typedef float _Complex __pyx_t_float_complex;
678 typedef struct {
float real, imag; } __pyx_t_float_complex;
683 typedef ::std::complex< double > __pyx_t_double_complex;
685 typedef double _Complex __pyx_t_double_complex;
688 typedef struct {
double real, imag; } __pyx_t_double_complex;
693 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction;
694 struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction;
695 struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction;
696 struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions;
697 struct __pyx_obj_10espressomd_12interactions_BondedInteraction;
706 typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
715 typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
724 typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
733 typedef npy_cdouble __pyx_t_5numpy_complex_t;
742 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction {
744 PyObject *_partTypes;
756 struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction {
757 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction __pyx_base;
768 struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction {
769 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction __pyx_base;
780 struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions {
792 struct __pyx_obj_10espressomd_12interactions_BondedInteraction {
798 #ifndef CYTHON_REFNANNY
799 #define CYTHON_REFNANNY 0
803 void (*INCREF)(
void*, PyObject*, int);
804 void (*DECREF)(
void*, PyObject*, int);
805 void (*GOTREF)(
void*, PyObject*, int);
806 void (*GIVEREF)(
void*, PyObject*, int);
807 void* (*SetupContext)(
const char*, int,
const char*);
808 void (*FinishContext)(
void**);
809 } __Pyx_RefNannyAPIStruct;
810 static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
811 static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(
const char *modname);
812 #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
814 #define __Pyx_RefNannySetupContext(name, acquire_gil) \
816 PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure(); \
817 __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
818 PyGILState_Release(__pyx_gilstate_save); \
820 __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
823 #define __Pyx_RefNannySetupContext(name, acquire_gil) \
824 __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
826 #define __Pyx_RefNannyFinishContext() \
827 __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
828 #define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
829 #define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
830 #define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
831 #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
832 #define __Pyx_XINCREF(r) do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
833 #define __Pyx_XDECREF(r) do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
834 #define __Pyx_XGOTREF(r) do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
835 #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
837 #define __Pyx_RefNannyDeclarations
838 #define __Pyx_RefNannySetupContext(name, acquire_gil)
839 #define __Pyx_RefNannyFinishContext()
840 #define __Pyx_INCREF(r) Py_INCREF(r)
841 #define __Pyx_DECREF(r) Py_DECREF(r)
842 #define __Pyx_GOTREF(r)
843 #define __Pyx_GIVEREF(r)
844 #define __Pyx_XINCREF(r) Py_XINCREF(r)
845 #define __Pyx_XDECREF(r) Py_XDECREF(r)
846 #define __Pyx_XGOTREF(r)
847 #define __Pyx_XGIVEREF(r)
849 #define __Pyx_XDECREF_SET(r, v) do { \
850 PyObject *tmp = (PyObject *) r; \
851 r = v; __Pyx_XDECREF(tmp); \
853 #define __Pyx_DECREF_SET(r, v) do { \
854 PyObject *tmp = (PyObject *) r; \
855 r = v; __Pyx_DECREF(tmp); \
857 #define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
858 #define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)
860 #if CYTHON_COMPILING_IN_CPYTHON
861 static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
862 PyTypeObject* tp = Py_TYPE(obj);
863 if (likely(tp->tp_getattro))
864 return tp->tp_getattro(obj, attr_name);
865 #if PY_MAJOR_VERSION < 3
866 if (likely(tp->tp_getattr))
867 return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
869 return PyObject_GetAttr(obj, attr_name);
872 #define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
875 static PyObject *__Pyx_GetBuiltinName(PyObject *name);
877 static CYTHON_INLINE
int __Pyx_CheckKeywordStrings(PyObject *kwdict,
const char* function_name,
int kw_allowed);
879 #define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck) \
880 (__Pyx_fits_Py_ssize_t(i, type, is_signed) ? \
881 __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) : \
882 (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) : \
883 __Pyx_GetItemInt_Generic(o, to_py_func(i))))
884 #define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck) \
885 (__Pyx_fits_Py_ssize_t(i, type, is_signed) ? \
886 __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) : \
887 (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
888 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t
i,
889 int wraparound,
int boundscheck);
890 #define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck) \
891 (__Pyx_fits_Py_ssize_t(i, type, is_signed) ? \
892 __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) : \
893 (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
894 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t
i,
895 int wraparound,
int boundscheck);
896 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
897 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t
i,
898 int is_list,
int wraparound,
int boundscheck);
900 #if CYTHON_COMPILING_IN_CPYTHON
901 static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
903 #define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
906 #if CYTHON_COMPILING_IN_CPYTHON
907 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
910 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
912 #if CYTHON_COMPILING_IN_CPYTHON
913 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
915 #define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
918 static CYTHON_INLINE
int __Pyx_PyDict_Contains(PyObject* item, PyObject* dict,
int eq) {
919 int result = PyDict_Contains(dict, item);
920 return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
923 static CYTHON_INLINE
void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb);
924 static CYTHON_INLINE
void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb);
926 static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);
928 static void __Pyx_RaiseArgtupleInvalid(
const char* func_name,
int exact,
929 Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);
931 static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg);
933 static CYTHON_INLINE PyObject* __Pyx_PyDict_Keys(PyObject* d);
935 static CYTHON_INLINE
int __Pyx_PySequence_Contains(PyObject* item, PyObject* seq,
int eq) {
936 int result = PySequence_Contains(seq, item);
937 return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
942 static CYTHON_INLINE
int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2,
int equals);
944 static CYTHON_INLINE
int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2,
int equals);
946 #if PY_MAJOR_VERSION >= 3
947 #define __Pyx_PyString_Equals __Pyx_PyUnicode_Equals
949 #define __Pyx_PyString_Equals __Pyx_PyBytes_Equals
952 static void __Pyx_RaiseDoubleKeywordsError(
const char* func_name, PyObject* kw_name);
954 static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[], \
955 PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
956 const char* function_name);
958 #if CYTHON_COMPILING_IN_CPYTHON
959 #define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o,n,NULL)
960 static CYTHON_INLINE
int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value) {
961 PyTypeObject* tp = Py_TYPE(obj);
962 if (likely(tp->tp_setattro))
963 return tp->tp_setattro(obj, attr_name, value);
964 #if PY_MAJOR_VERSION < 3
965 if (likely(tp->tp_setattr))
966 return tp->tp_setattr(obj, PyString_AS_STRING(attr_name), value);
968 return PyObject_SetAttr(obj, attr_name, value);
971 #define __Pyx_PyObject_DelAttrStr(o,n) PyObject_DelAttr(o,n)
972 #define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v)
975 static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);
977 #if PY_MAJOR_VERSION >= 3
978 static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
980 value = PyDict_GetItemWithError(d, key);
981 if (unlikely(!value)) {
982 if (!PyErr_Occurred()) {
983 PyObject* args = PyTuple_Pack(1, key);
985 PyErr_SetObject(PyExc_KeyError, args);
994 #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
997 static CYTHON_INLINE
void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);
999 static CYTHON_INLINE
void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
1001 static CYTHON_INLINE
void __Pyx_RaiseNoneNotIterableError(
void);
1003 static CYTHON_INLINE
int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);
1005 static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases);
1007 static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);
1009 #define __Pyx_CyFunction_USED 1
1010 #include <structmember.h>
1011 #define __Pyx_CYFUNCTION_STATICMETHOD 0x01
1012 #define __Pyx_CYFUNCTION_CLASSMETHOD 0x02
1013 #define __Pyx_CYFUNCTION_CCLASS 0x04
1014 #define __Pyx_CyFunction_GetClosure(f) \
1015 (((__pyx_CyFunctionObject *) (f))->func_closure)
1016 #define __Pyx_CyFunction_GetClassObj(f) \
1017 (((__pyx_CyFunctionObject *) (f))->func_classobj)
1018 #define __Pyx_CyFunction_Defaults(type, f) \
1019 ((type *)(((__pyx_CyFunctionObject *) (f))->defaults))
1020 #define __Pyx_CyFunction_SetDefaultsGetter(f, g) \
1021 ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g)
1023 PyCFunctionObject func;
1024 #if PY_VERSION_HEX < 0x030500A0
1025 PyObject *func_weakreflist;
1027 PyObject *func_dict;
1028 PyObject *func_name;
1029 PyObject *func_qualname;
1031 PyObject *func_globals;
1032 PyObject *func_code;
1033 PyObject *func_closure;
1034 PyObject *func_classobj;
1036 int defaults_pyobjects;
1038 PyObject *defaults_tuple;
1039 PyObject *defaults_kwdict;
1040 PyObject *(*defaults_getter)(PyObject *);
1041 PyObject *func_annotations;
1042 } __pyx_CyFunctionObject;
1043 static PyTypeObject *__pyx_CyFunctionType = 0;
1044 #define __Pyx_CyFunction_NewEx(ml, flags, qualname, self, module, globals, code) \
1045 __Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, qualname, self, module, globals, code)
1046 static PyObject *__Pyx_CyFunction_New(PyTypeObject *, PyMethodDef *ml,
1047 int flags, PyObject* qualname,
1049 PyObject *module, PyObject *globals,
1051 static CYTHON_INLINE
void *__Pyx_CyFunction_InitDefaults(PyObject *m,
1054 static CYTHON_INLINE
void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m,
1056 static CYTHON_INLINE
void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m,
1058 static CYTHON_INLINE
void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m,
1060 static int __Pyx_CyFunction_init(
void);
1062 static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name, PyObject *qualname,
1063 PyObject *mkw, PyObject *modname, PyObject *doc);
1064 static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObject *bases, PyObject *dict,
1065 PyObject *mkw,
int calculate_metaclass,
int allow_py2_metaclass);
1069 PyCodeObject* code_object;
1070 } __Pyx_CodeObjectCacheEntry;
1071 struct __Pyx_CodeObjectCache {
1074 __Pyx_CodeObjectCacheEntry* entries;
1076 static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
1077 static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries,
int count,
int code_line);
1078 static PyCodeObject *__pyx_find_code_object(
int code_line);
1079 static void __pyx_insert_code_object(
int code_line, PyCodeObject* code_object);
1081 static void __Pyx_AddTraceback(
const char *funcname,
int c_line,
1082 int py_line,
const char *filename);
1084 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(
long value);
1086 static CYTHON_INLINE
int __Pyx_PyInt_As_int(PyObject *);
1088 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(
int value);
1090 static int __Pyx_Print(PyObject*, PyObject *,
int);
1091 #if CYTHON_COMPILING_IN_PYPY || PY_MAJOR_VERSION >= 3
1092 static PyObject* __pyx_print = 0;
1093 static PyObject* __pyx_print_kwargs = 0;
1096 static int __Pyx_PrintOne(PyObject*
stream, PyObject *o);
1100 #define __Pyx_CREAL(z) ((z).real())
1101 #define __Pyx_CIMAG(z) ((z).imag())
1103 #define __Pyx_CREAL(z) (__real__(z))
1104 #define __Pyx_CIMAG(z) (__imag__(z))
1107 #define __Pyx_CREAL(z) ((z).real)
1108 #define __Pyx_CIMAG(z) ((z).imag)
1110 #if (defined(_WIN32) || defined(__clang__)) && defined(__cplusplus) && CYTHON_CCOMPLEX
1111 #define __Pyx_SET_CREAL(z,x) ((z).real(x))
1112 #define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
1114 #define __Pyx_SET_CREAL(z,x) __Pyx_CREAL(z) = (x)
1115 #define __Pyx_SET_CIMAG(z,y) __Pyx_CIMAG(z) = (y)
1118 static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(
float,
float);
1121 #define __Pyx_c_eqf(a, b) ((a)==(b))
1122 #define __Pyx_c_sumf(a, b) ((a)+(b))
1123 #define __Pyx_c_difff(a, b) ((a)-(b))
1124 #define __Pyx_c_prodf(a, b) ((a)*(b))
1125 #define __Pyx_c_quotf(a, b) ((a)/(b))
1126 #define __Pyx_c_negf(a) (-(a))
1128 #define __Pyx_c_is_zerof(z) ((z)==(float)0)
1129 #define __Pyx_c_conjf(z) (::std::conj(z))
1131 #define __Pyx_c_absf(z) (::std::abs(z))
1132 #define __Pyx_c_powf(a, b) (::std::pow(a, b))
1135 #define __Pyx_c_is_zerof(z) ((z)==0)
1136 #define __Pyx_c_conjf(z) (conjf(z))
1138 #define __Pyx_c_absf(z) (cabsf(z))
1139 #define __Pyx_c_powf(a, b) (cpowf(a, b))
1143 static CYTHON_INLINE
int __Pyx_c_eqf(__pyx_t_float_complex, __pyx_t_float_complex);
1144 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex, __pyx_t_float_complex);
1145 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex, __pyx_t_float_complex);
1146 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prodf(__pyx_t_float_complex, __pyx_t_float_complex);
1147 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex, __pyx_t_float_complex);
1148 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex);
1149 static CYTHON_INLINE
int __Pyx_c_is_zerof(__pyx_t_float_complex);
1150 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex);
1152 static CYTHON_INLINE
float __Pyx_c_absf(__pyx_t_float_complex);
1153 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex, __pyx_t_float_complex);
1157 static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(
double,
double);
1160 #define __Pyx_c_eq(a, b) ((a)==(b))
1161 #define __Pyx_c_sum(a, b) ((a)+(b))
1162 #define __Pyx_c_diff(a, b) ((a)-(b))
1163 #define __Pyx_c_prod(a, b) ((a)*(b))
1164 #define __Pyx_c_quot(a, b) ((a)/(b))
1165 #define __Pyx_c_neg(a) (-(a))
1167 #define __Pyx_c_is_zero(z) ((z)==(double)0)
1168 #define __Pyx_c_conj(z) (::std::conj(z))
1170 #define __Pyx_c_abs(z) (::std::abs(z))
1171 #define __Pyx_c_pow(a, b) (::std::pow(a, b))
1174 #define __Pyx_c_is_zero(z) ((z)==0)
1175 #define __Pyx_c_conj(z) (conj(z))
1177 #define __Pyx_c_abs(z) (cabs(z))
1178 #define __Pyx_c_pow(a, b) (cpow(a, b))
1182 static CYTHON_INLINE
int __Pyx_c_eq(__pyx_t_double_complex, __pyx_t_double_complex);
1183 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex, __pyx_t_double_complex);
1184 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex, __pyx_t_double_complex);
1185 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod(__pyx_t_double_complex, __pyx_t_double_complex);
1186 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex, __pyx_t_double_complex);
1187 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex);
1188 static CYTHON_INLINE
int __Pyx_c_is_zero(__pyx_t_double_complex);
1189 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex);
1191 static CYTHON_INLINE
double __Pyx_c_abs(__pyx_t_double_complex);
1192 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex, __pyx_t_double_complex);
1196 static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list,
int level);
1198 static CYTHON_INLINE
long __Pyx_PyInt_As_long(PyObject *);
1200 static int __Pyx_check_binary_version(
void);
1202 #if !defined(__Pyx_PyIdentifier_FromString)
1203 #if PY_MAJOR_VERSION < 3
1204 #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s)
1206 #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s)
1210 static PyObject *__Pyx_ImportModule(
const char *name);
1212 static PyTypeObject *__Pyx_ImportType(
const char *module_name,
const char *class_name,
size_t size,
int strict);
1214 static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
1232 static PyTypeObject *__pyx_ptype_7cpython_4type_type = 0;
1239 static PyTypeObject *__pyx_ptype_5numpy_dtype = 0;
1240 static PyTypeObject *__pyx_ptype_5numpy_flatiter = 0;
1241 static PyTypeObject *__pyx_ptype_5numpy_broadcast = 0;
1242 static PyTypeObject *__pyx_ptype_5numpy_ndarray = 0;
1243 static PyTypeObject *__pyx_ptype_5numpy_ufunc = 0;
1244 static CYTHON_INLINE
char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *,
char *,
char *,
int *);
1249 static PyTypeObject *__pyx_ptype_10espressomd_12interactions_NonBondedInteraction = 0;
1250 static PyTypeObject *__pyx_ptype_10espressomd_12interactions_LennardJonesInteraction = 0;
1251 static PyTypeObject *__pyx_ptype_10espressomd_12interactions_GenericLennardJonesInteraction = 0;
1252 static PyTypeObject *__pyx_ptype_10espressomd_12interactions_NonBondedInteractions = 0;
1253 static PyTypeObject *__pyx_ptype_10espressomd_12interactions_BondedInteraction = 0;
1254 #define __Pyx_MODULE_NAME "espressomd.interactions"
1255 int __pyx_module_is_main_espressomd__interactions = 0;
1258 static PyObject *__pyx_builtin_object;
1259 static PyObject *__pyx_builtin_ValueError;
1260 static PyObject *__pyx_builtin_Exception;
1261 static PyObject *__pyx_builtin_TypeError;
1262 static PyObject *__pyx_builtin_range;
1263 static PyObject *__pyx_builtin_RuntimeError;
1264 static int __pyx_pf_10espressomd_12interactions_20NonBondedInteraction___init__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs);
1265 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_2isValid(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1266 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_4getParams(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1267 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_6setParams(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self, PyObject *__pyx_v_p);
1268 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_8validateParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1269 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_getParamsFromEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1270 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_12_setParamsInEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1271 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_14defaultParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1272 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_16isActive(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1273 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_18typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1274 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_20validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1275 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_22requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1276 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes___get__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1277 static int __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_2__set__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self, PyObject *__pyx_v_value);
1278 static int __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_4__del__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self);
1279 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_validateParams(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1280 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_2_getParamsFromEsCore(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1281 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_4isActive(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1282 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_6_setParamsInEsCore(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1283 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_8defaultParams(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1284 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_10typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1285 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_12validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1286 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_14requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self);
1287 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_validateParams(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1288 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_2_getParamsFromEsCore(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1289 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_4isActive(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1290 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_6_setParamsInEsCore(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1291 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_8defaultParams(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1292 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_10typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1293 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_12validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1294 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_14requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self);
1295 static PyObject *__pyx_pf_10espressomd_12interactions_26NonBondedInteractionHandle___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v__type1, PyObject *__pyx_v__type2);
1296 static PyObject *__pyx_pf_10espressomd_12interactions_21NonBondedInteractions___getitem__(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *__pyx_v_self, PyObject *__pyx_v_key);
1297 static PyObject *__pyx_pf_10espressomd_12interactions_21NonBondedInteractions_2setForceCap(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *__pyx_v_self, PyObject *__pyx_v_cap);
1298 static PyObject *__pyx_pf_10espressomd_12interactions_21NonBondedInteractions_4getForceCap(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *__pyx_v_self);
1299 static int __pyx_pf_10espressomd_12interactions_17BondedInteraction___init__(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs);
1300 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_2isValid(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1301 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_6params___get__(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1302 static int __pyx_pf_10espressomd_12interactions_17BondedInteraction_6params_2__set__(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self, PyObject *__pyx_v_p);
1303 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_4validateParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1304 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_6_getParamsFromEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1305 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_8_setParamsInEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1306 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_10setDefaultParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1307 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_12typeNumber(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1308 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_14typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1309 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_16validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1310 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_18requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self);
1311 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs);
1312 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_2typeNumber(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1313 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_4typeName(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1314 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_6validKeys(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1315 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_8requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1316 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_10setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1317 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_12_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1318 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_14_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1319 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1320 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1321 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1322 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1323 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1324 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1325 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1326 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1327 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1328 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1329 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1330 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1331 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1332 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1333 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1334 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1335 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1336 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1337 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1338 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1339 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1340 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1341 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1342 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1343 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1344 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1345 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1346 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1347 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1348 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1349 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1350 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1351 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1352 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1353 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1354 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1355 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1356 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1357 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1358 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1359 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1360 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1361 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1362 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1363 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1364 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1365 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1366 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1367 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1368 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1369 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1370 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1371 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1372 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1373 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1374 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1375 static PyObject *__pyx_pf_10espressomd_12interactions_14Angle_Harmonic_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1376 static PyObject *__pyx_pf_10espressomd_12interactions_typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1377 static PyObject *__pyx_pf_10espressomd_12interactions_2validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1378 static PyObject *__pyx_pf_10espressomd_12interactions_4requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1379 static PyObject *__pyx_pf_10espressomd_12interactions_6setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1380 static PyObject *__pyx_pf_10espressomd_12interactions_8_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1381 static PyObject *__pyx_pf_10espressomd_12interactions_10_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1382 static PyObject *__pyx_pf_10espressomd_12interactions_12Angle_Cosine_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1383 static PyObject *__pyx_pf_10espressomd_12interactions_12typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1384 static PyObject *__pyx_pf_10espressomd_12interactions_14validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1385 static PyObject *__pyx_pf_10espressomd_12interactions_16requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1386 static PyObject *__pyx_pf_10espressomd_12interactions_18setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1387 static PyObject *__pyx_pf_10espressomd_12interactions_20_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1388 static PyObject *__pyx_pf_10espressomd_12interactions_22_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1389 static PyObject *__pyx_pf_10espressomd_12interactions_15Angle_Cossquare_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1390 static PyObject *__pyx_pf_10espressomd_12interactions_24typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1391 static PyObject *__pyx_pf_10espressomd_12interactions_26validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1392 static PyObject *__pyx_pf_10espressomd_12interactions_28requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1393 static PyObject *__pyx_pf_10espressomd_12interactions_30setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1394 static PyObject *__pyx_pf_10espressomd_12interactions_32_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1395 static PyObject *__pyx_pf_10espressomd_12interactions_34_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1396 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1397 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1398 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1399 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1400 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1401 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1402 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1403 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1404 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1405 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1406 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1407 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1408 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1409 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1410 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1411 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1412 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1413 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1414 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1415 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1416 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1417 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1418 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1419 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1420 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1421 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1422 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1423 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1424 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1425 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1426 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1427 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1428 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1429 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1430 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1431 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1432 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1433 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1434 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self);
1435 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1436 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1437 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self);
1438 static PyObject *__pyx_pf_10espressomd_12interactions_18BondedInteractions___getitem__(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, PyObject *__pyx_v_key);
1439 static PyObject *__pyx_pf_10espressomd_12interactions_18BondedInteractions_2__setitem__(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value);
1440 static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info,
int __pyx_v_flags);
1441 static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info);
1442 static PyObject *__pyx_tp_new_10espressomd_12interactions_NonBondedInteraction(PyTypeObject *t, PyObject *a, PyObject *k);
1443 static PyObject *__pyx_tp_new_10espressomd_12interactions_LennardJonesInteraction(PyTypeObject *t, PyObject *a, PyObject *k);
1444 static PyObject *__pyx_tp_new_10espressomd_12interactions_GenericLennardJonesInteraction(PyTypeObject *t, PyObject *a, PyObject *k);
1445 static PyObject *__pyx_tp_new_10espressomd_12interactions_NonBondedInteractions(PyTypeObject *t, PyObject *a, PyObject *k);
1446 static PyObject *__pyx_tp_new_10espressomd_12interactions_BondedInteraction(PyTypeObject *t, PyObject *a, PyObject *k);
1447 static char __pyx_k_B[] =
"B";
1448 static char __pyx_k_H[] =
"H";
1449 static char __pyx_k_I[] =
"I";
1450 static char __pyx_k_L[] =
"L";
1451 static char __pyx_k_O[] =
"O";
1452 static char __pyx_k_Q[] =
"Q";
1453 static char __pyx_k_b[] =
"b";
1454 static char __pyx_k_d[] =
"d";
1455 static char __pyx_k_f[] =
"f";
1456 static char __pyx_k_g[] =
"g";
1457 static char __pyx_k_h[] =
"h";
1458 static char __pyx_k_i[] =
"i";
1459 static char __pyx_k_k[] =
"k";
1460 static char __pyx_k_l[] =
"l";
1461 static char __pyx_k_q[] =
"q";
1462 static char __pyx_k_r[] =
"r";
1463 static char __pyx_k_V0[] =
"V0";
1464 static char __pyx_k_Zd[] =
"Zd";
1465 static char __pyx_k_Zf[] =
"Zf";
1466 static char __pyx_k_Zg[] =
"Zg";
1467 static char __pyx_k_b1[] =
"b1";
1468 static char __pyx_k_b2[] =
"b2";
1469 static char __pyx_k_e1[] =
"e1";
1470 static char __pyx_k_e2[] =
"e2";
1471 static char __pyx_k_k1[] =
"k1";
1472 static char __pyx_k_k2[] =
"k2";
1473 static char __pyx_k_kb[] =
"kb";
1474 static char __pyx_k_ks[] =
"ks";
1475 static char __pyx_k_kv[] =
"kv";
1476 static char __pyx_k_r0[] =
"r0";
1477 static char __pyx_k__43[] =
"";
1478 static char __pyx_k__67[] =
" ";
1479 static char __pyx_k_doc[] =
"__doc__";
1480 static char __pyx_k_end[] =
"end";
1481 static char __pyx_k_k_2[] =
"k'";
1482 static char __pyx_k_key[] =
"key";
1483 static char __pyx_k_min[] =
"min";
1484 static char __pyx_k_r_0[] =
"r_0";
1485 static char __pyx_k_str[] =
"__str__";
1486 static char __pyx_k_A0_g[] =
"A0_g";
1487 static char __pyx_k_A0_l[] =
"A0_l";
1488 static char __pyx_k_FENE[] =
"FENE";
1489 static char __pyx_k_args[] =
"args";
1490 static char __pyx_k_auto[] =
"auto";
1491 static char __pyx_k_bend[] =
"bend";
1492 static char __pyx_k_file[] =
"file";
1493 static char __pyx_k_init[] =
"__init__";
1494 static char __pyx_k_ka_g[] =
"ka_g";
1495 static char __pyx_k_ka_l[] =
"ka_l";
1496 static char __pyx_k_keys[] =
"keys";
1497 static char __pyx_k_main[] =
"__main__";
1498 static char __pyx_k_mult[] =
"mult";
1499 static char __pyx_k_name[] =
"__name__";
1500 static char __pyx_k_phi0[] =
"phi0";
1501 static char __pyx_k_self[] =
"self";
1502 static char __pyx_k_test[] =
"__test__";
1503 static char __pyx_k_type[] =
"type";
1504 static char __pyx_k_RIGID[] =
"RIGID";
1505 static char __pyx_k_delta[] =
"delta";
1506 static char __pyx_k_kslin[] =
"kslin";
1507 static char __pyx_k_phase[] =
"phase";
1508 static char __pyx_k_print[] =
"print";
1509 static char __pyx_k_r_cut[] =
"r_cut";
1510 static char __pyx_k_range[] =
"range";
1511 static char __pyx_k_shift[] =
"shift";
1512 static char __pyx_k_sigma[] =
"sigma";
1513 static char __pyx_k_type1[] =
"_type1";
1514 static char __pyx_k_type2[] =
"_type2";
1515 static char __pyx_k_value[] =
"value";
1516 static char __pyx_k_bondId[] =
"_bondId";
1517 static char __pyx_k_cutoff[] =
"cutoff";
1518 static char __pyx_k_import[] =
"__import__";
1519 static char __pyx_k_kwargs[] =
"kwargs";
1520 static char __pyx_k_lambda[] =
"lambda";
1521 static char __pyx_k_maxval[] =
"maxval";
1522 static char __pyx_k_minval[] =
"minval";
1523 static char __pyx_k_module[] =
"__module__";
1524 static char __pyx_k_mult_2[] =
"mult'";
1525 static char __pyx_k_name_2[] =
"name";
1526 static char __pyx_k_object[] =
"object";
1527 static char __pyx_k_offset[] =
"offset";
1528 static char __pyx_k_params[] =
"_params";
1529 static char __pyx_k_update[] =
"update";
1530 static char __pyx_k_SUBT_LJ[] =
"SUBT_LJ";
1531 static char __pyx_k_Subt_Lj[] =
"Subt_Lj";
1532 static char __pyx_k_VIRTUAL[] =
"VIRTUAL";
1533 static char __pyx_k_Virtual[] =
"Virtual";
1534 static char __pyx_k_class_s[] =
"__class_s__";
1535 static char __pyx_k_d_r_max[] =
"d_r_max";
1536 static char __pyx_k_epsilon[] =
"epsilon";
1537 static char __pyx_k_getitem[] =
"__getitem__";
1538 static char __pyx_k_npoints[] =
"npoints";
1539 static char __pyx_k_prepare[] =
"__prepare__";
1540 static char __pyx_k_setitem[] =
"__setitem__";
1541 static char __pyx_k_type1_2[] =
"type1";
1542 static char __pyx_k_type2_2[] =
"type2";
1543 static char __pyx_k_DIHEDRAL[] =
"DIHEDRAL";
1544 static char __pyx_k_Dihedral[] =
"Dihedral";
1545 static char __pyx_k_FeneBond[] =
"FeneBond";
1546 static char __pyx_k_HARMONIC[] =
"HARMONIC";
1547 static char __pyx_k_bondId_2[] =
"bondId";
1548 static char __pyx_k_bondType[] =
"bondType";
1549 static char __pyx_k_filename[] =
"filename";
1550 static char __pyx_k_isActive[] =
"isActive";
1551 static char __pyx_k_params_2[] =
"params";
1552 static char __pyx_k_qualname[] =
"__qualname__";
1553 static char __pyx_k_typeName[] =
"typeName";
1554 static char __pyx_k_Exception[] =
"Exception";
1555 static char __pyx_k_RigidBond[] =
"RigidBond";
1556 static char __pyx_k_TABULATED[] =
"TABULATED";
1557 static char __pyx_k_Tabulated[] =
"Tabulated";
1558 static char __pyx_k_TypeError[] =
"TypeError";
1559 static char __pyx_k_bondClass[] =
"bondClass";
1560 static char __pyx_k_metaclass[] =
"__metaclass__";
1561 static char __pyx_k_validKeys[] =
"validKeys";
1562 static char __pyx_k_OVERLAPPED[] =
"OVERLAPPED";
1563 static char __pyx_k_Overlapped[] =
"Overlapped";
1564 static char __pyx_k_ValueError[] =
"ValueError";
1565 static char __pyx_k_typeNumber[] =
"typeNumber";
1566 static char __pyx_k_invstepsize[] =
"invstepsize";
1567 static char __pyx_k_ANGLE_COSINE[] =
"ANGLE_COSINE";
1568 static char __pyx_k_Angle_Cosine[] =
"Angle_Cosine";
1569 static char __pyx_k_Endangledist[] =
"Endangledist";
1570 static char __pyx_k_HarmonicBond[] =
"HarmonicBond";
1571 static char __pyx_k_LennardJones[] =
"LennardJones";
1572 static char __pyx_k_RuntimeError[] =
"RuntimeError";
1573 static char __pyx_k_VOLUME_FORCE[] =
"VOLUME_FORCE";
1574 static char __pyx_k_Volume_Force[] =
"Volume_Force";
1575 static char __pyx_k_lennardJones[] =
"lennardJones";
1576 static char __pyx_k_overlap_type[] =
"overlap_type";
1577 static char __pyx_k_requiredKeys[] =
"requiredKeys";
1578 static char __pyx_k_BENDING_FORCE[] =
"BENDING_FORCE";
1579 static char __pyx_k_Bending_Force[] =
"Bending_Force";
1580 static char __pyx_k_defaultParams[] =
"defaultParams";
1581 static char __pyx_k_ANGLE_HARMONIC[] =
"ANGLE_HARMONIC";
1582 static char __pyx_k_Angle_Harmonic[] =
"Angle_Harmonic";
1583 static char __pyx_k_validateParams[] =
"validateParams";
1584 static char __pyx_k_ANGLE_COSSQUARE[] =
"ANGLE_COSSQUARE";
1585 static char __pyx_k_Angle_Cossquare[] =
"Angle_Cossquare";
1586 static char __pyx_k_AREA_FORCE_LOCAL[] =
"AREA_FORCE_LOCAL";
1587 static char __pyx_k_Area_Force_Local[] =
"Area_Force_Local";
1588 static char __pyx_k_STRETCHING_FORCE[] =
"STRETCHING_FORCE";
1589 static char __pyx_k_STRETCHLIN_FORCE[] =
"STRETCHLIN_FORCE";
1590 static char __pyx_k_Stretching_Force[] =
"Stretching_Force";
1591 static char __pyx_k_Stretchlin_Force[] =
"Stretchlin_Force";
1592 static char __pyx_k_Subt_Lj_typeName[] =
"Subt_Lj.typeName";
1593 static char __pyx_k_Virtual_typeName[] =
"Virtual.typeName";
1594 static char __pyx_k_setDefaultParams[] =
"setDefaultParams";
1595 static char __pyx_k_AREA_FORCE_GLOBAL[] =
"AREA_FORCE_GLOBAL";
1596 static char __pyx_k_Area_Force_Global[] =
"Area_Force_Global";
1597 static char __pyx_k_BOND_ENDANGLEDIST[] =
"BOND_ENDANGLEDIST";
1598 static char __pyx_k_Dihedral_typeName[] =
"Dihedral.typeName";
1599 static char __pyx_k_FeneBond_typeName[] =
"FeneBond.typeName";
1600 static char __pyx_k_HARMONIC_DUMBBELL[] =
"HARMONIC_DUMBBELL";
1601 static char __pyx_k_Subt_Lj_validKeys[] =
"Subt_Lj.validKeys";
1602 static char __pyx_k_Virtual_validKeys[] =
"Virtual.validKeys";
1603 static char __pyx_k_setParamsInEsCore[] =
"_setParamsInEsCore";
1604 static char __pyx_k_BondedInteractions[] =
"BondedInteractions";
1605 static char __pyx_k_Dihedral_validKeys[] =
"Dihedral.validKeys";
1606 static char __pyx_k_FeneBond_validKeys[] =
"FeneBond.validKeys";
1607 static char __pyx_k_Subt_Lj_typeNumber[] =
"Subt_Lj.typeNumber";
1608 static char __pyx_k_Tabulated_typeName[] =
"Tabulated.typeName";
1609 static char __pyx_k_Virtual_typeNumber[] =
"Virtual.typeNumber";
1610 static char __pyx_k_is_not_yet_defined[] =
" is not yet defined.";
1611 static char __pyx_k_Dihedral_typeNumber[] =
"Dihedral.typeNumber";
1612 static char __pyx_k_FeneBond_typeNumber[] =
"FeneBond.typeNumber";
1613 static char __pyx_k_GenericLennardJones[] =
"GenericLennardJones";
1614 static char __pyx_k_Overlapped_typeName[] =
"Overlapped.typeName";
1615 static char __pyx_k_Tabulated_validKeys[] =
"Tabulated.validKeys";
1616 static char __pyx_k_genericLennardJones[] =
"genericLennardJones";
1617 static char __pyx_k_getParamsFromEsCore[] =
"_getParamsFromEsCore";
1618 static char __pyx_k_HarmonicDumbbellBond[] =
"HarmonicDumbbellBond";
1619 static char __pyx_k_Overlapped_validKeys[] =
"Overlapped.validKeys";
1620 static char __pyx_k_Subt_Lj_requiredKeys[] =
"Subt_Lj.requiredKeys";
1621 static char __pyx_k_Tabulated_typeNumber[] =
"Tabulated.typeNumber";
1622 static char __pyx_k_Virtual_requiredKeys[] =
"Virtual.requiredKeys";
1623 static char __pyx_k_Dihedral_requiredKeys[] =
"Dihedral.requiredKeys";
1624 static char __pyx_k_FeneBond_requiredKeys[] =
"FeneBond.requiredKeys";
1625 static char __pyx_k_HarmonicBond_typeName[] =
"HarmonicBond.typeName";
1626 static char __pyx_k_Overlapped_typeNumber[] =
"Overlapped.typeNumber";
1627 static char __pyx_k_Volume_Force_typeName[] =
"Volume_Force.typeName";
1628 static char __pyx_k_Bending_Force_typeName[] =
"Bending_Force.typeName";
1629 static char __pyx_k_Could_not_set_forcecap[] =
"Could not set forcecap";
1630 static char __pyx_k_HarmonicBond_validKeys[] =
"HarmonicBond.validKeys";
1631 static char __pyx_k_Tabulated_requiredKeys[] =
"Tabulated.requiredKeys";
1632 static char __pyx_k_Volume_Force_validKeys[] =
"Volume_Force.validKeys";
1633 static char __pyx_k_Angle_Cosine_typeNumber[] =
"Angle_Cosine.typeNumber";
1634 static char __pyx_k_Bending_Force_validKeys[] =
"Bending_Force.validKeys";
1635 static char __pyx_k_HarmonicBond_typeNumber[] =
"HarmonicBond.typeNumber";
1636 static char __pyx_k_Overlapped_requiredKeys[] =
"Overlapped.requiredKeys";
1637 static char __pyx_k_Volume_Force_typeNumber[] =
"Volume_Force.typeNumber";
1638 static char __pyx_k_espressomd_interactions[] =
"espressomd.interactions";
1639 static char __pyx_k_Bending_Force_typeNumber[] =
"Bending_Force.typeNumber";
1640 static char __pyx_k_Subt_Lj_setDefaultParams[] =
"Subt_Lj.setDefaultParams";
1641 static char __pyx_k_Virtual_setDefaultParams[] =
"Virtual.setDefaultParams";
1642 static char __pyx_k_bondedInteractionClasses[] =
"bondedInteractionClasses";
1643 static char __pyx_k_Angle_Harmonic_typeNumber[] =
"Angle_Harmonic.typeNumber";
1644 static char __pyx_k_Area_Force_Local_typeName[] =
"Area_Force_Local.typeName";
1645 static char __pyx_k_Dihedral_setDefaultParams[] =
"Dihedral.setDefaultParams";
1646 static char __pyx_k_FeneBond_setDefaultParams[] =
"FeneBond.setDefaultParams";
1647 static char __pyx_k_HarmonicBond_requiredKeys[] =
"HarmonicBond.requiredKeys";
1648 static char __pyx_k_Stretching_Force_typeName[] =
"Stretching_Force.typeName";
1649 static char __pyx_k_Stretchlin_Force_typeName[] =
"Stretchlin_Force.typeName";
1650 static char __pyx_k_Volume_Force_requiredKeys[] =
"Volume_Force.requiredKeys";
1651 static char __pyx_k_bond_in_the_Espresso_core[] =
" bond in the Espresso core.";
1652 static char __pyx_k_Angle_Cossquare_typeNumber[] =
"Angle_Cossquare.typeNumber";
1653 static char __pyx_k_Area_Force_Global_typeName[] =
"Area_Force_Global.typeName";
1654 static char __pyx_k_Area_Force_Local_validKeys[] =
"Area_Force_Local.validKeys";
1655 static char __pyx_k_Bending_Force_requiredKeys[] =
"Bending_Force.requiredKeys";
1656 static char __pyx_k_NonBondedInteractionHandle[] =
"NonBondedInteractionHandle";
1657 static char __pyx_k_Stretching_Force_validKeys[] =
"Stretching_Force.validKeys";
1658 static char __pyx_k_Stretchlin_Force_validKeys[] =
"Stretchlin_Force.validKeys";
1659 static char __pyx_k_Subt_Lj__setParamsInEsCore[] =
"Subt_Lj._setParamsInEsCore";
1660 static char __pyx_k_Tabulated_setDefaultParams[] =
"Tabulated.setDefaultParams";
1661 static char __pyx_k_Virtual__setParamsInEsCore[] =
"Virtual._setParamsInEsCore";
1662 static char __pyx_k_Area_Force_Global_validKeys[] =
"Area_Force_Global.validKeys";
1663 static char __pyx_k_Area_Force_Local_typeNumber[] =
"Area_Force_Local.typeNumber";
1664 static char __pyx_k_BondedInteractionNotDefined[] =
"BondedInteractionNotDefined";
1665 static char __pyx_k_Dihedral__setParamsInEsCore[] =
"Dihedral._setParamsInEsCore";
1666 static char __pyx_k_FeneBond__setParamsInEsCore[] =
"FeneBond._setParamsInEsCore";
1667 static char __pyx_k_Overlapped_setDefaultParams[] =
"Overlapped.setDefaultParams";
1668 static char __pyx_k_Stretching_Force_typeNumber[] =
"Stretching_Force.typeNumber";
1669 static char __pyx_k_Stretchlin_Force_typeNumber[] =
"Stretchlin_Force.typeNumber";
1670 static char __pyx_k_ndarray_is_not_C_contiguous[] =
"ndarray is not C contiguous";
1671 static char __pyx_k_Area_Force_Global_typeNumber[] =
"Area_Force_Global.typeNumber";
1672 static char __pyx_k_BondedInteractions___getitem[] =
"BondedInteractions.__getitem__";
1673 static char __pyx_k_BondedInteractions___setitem[] =
"BondedInteractions.__setitem__";
1674 static char __pyx_k_Subt_Lj__getParamsFromEsCore[] =
"Subt_Lj._getParamsFromEsCore";
1675 static char __pyx_k_Tabulated__setParamsInEsCore[] =
"Tabulated._setParamsInEsCore";
1676 static char __pyx_k_Virtual__getParamsFromEsCore[] =
"Virtual._getParamsFromEsCore";
1677 static char __pyx_k_Area_Force_Local_requiredKeys[] =
"Area_Force_Local.requiredKeys";
1678 static char __pyx_k_Dihedral__getParamsFromEsCore[] =
"Dihedral._getParamsFromEsCore";
1679 static char __pyx_k_FeneBond__getParamsFromEsCore[] =
"FeneBond._getParamsFromEsCore";
1680 static char __pyx_k_HarmonicBond_setDefaultParams[] =
"HarmonicBond.setDefaultParams";
1681 static char __pyx_k_HarmonicDumbbellBond_typeName[] =
"HarmonicDumbbellBond.typeName";
1682 static char __pyx_k_Lennard_Jones_eps_has_to_be_0[] =
"Lennard-Jones eps has to be >=0";
1683 static char __pyx_k_Overlapped__setParamsInEsCore[] =
"Overlapped._setParamsInEsCore";
1684 static char __pyx_k_Stretching_Force_requiredKeys[] =
"Stretching_Force.requiredKeys";
1685 static char __pyx_k_Stretchlin_Force_requiredKeys[] =
"Stretchlin_Force.requiredKeys";
1686 static char __pyx_k_Volume_Force_setDefaultParams[] =
"Volume_Force.setDefaultParams";
1687 static char __pyx_k_Area_Force_Global_requiredKeys[] =
"Area_Force_Global.requiredKeys";
1688 static char __pyx_k_Bending_Force_setDefaultParams[] =
"Bending_Force.setDefaultParams";
1689 static char __pyx_k_HarmonicDumbbellBond_validKeys[] =
"HarmonicDumbbellBond.validKeys";
1690 static char __pyx_k_Tabulated__getParamsFromEsCore[] =
"Tabulated._getParamsFromEsCore";
1691 static char __pyx_k_Generic_Lennard_Jones_sigma_has[] =
"Generic Lennard-Jones sigma has to be >=0";
1692 static char __pyx_k_HarmonicBond__setParamsInEsCore[] =
"HarmonicBond._setParamsInEsCore";
1693 static char __pyx_k_HarmonicDumbbellBond_typeNumber[] =
"HarmonicDumbbellBond.typeNumber";
1694 static char __pyx_k_Index_to_BondedInteractions_has[] =
"Index to BondedInteractions[] has to ba an integer referring to a bond id";
1695 static char __pyx_k_Lennard_Jones_sigma_has_to_be_0[] =
"Lennard-Jones sigma has to be >=0";
1696 static char __pyx_k_Overlapped__getParamsFromEsCore[] =
"Overlapped._getParamsFromEsCore";
1697 static char __pyx_k_Subclasses_of_BondedInteraction[] =
"Subclasses of BondedInteraction must define the _getParamsFromEsCore() method.";
1698 static char __pyx_k_The_bonded_interaction_with_the[] =
"The bonded interaction with the id ";
1699 static char __pyx_k_Volume_Force__setParamsInEsCore[] =
"Volume_Force._setParamsInEsCore";
1700 static char __pyx_k_home_haozeke_Github_LabBom_espr[] =
"/home/haozeke/Github/LabBom/espresso/src/python/espressomd/interactions.pyx";
1701 static char __pyx_k_not_compiled_into_Espresso_core[] =
" not compiled into Espresso core";
1702 static char __pyx_k_s_has_to_be_defined_in_myconfig[] =
"%s has to be defined in myconfig.hpp.";
1703 static char __pyx_k_unknown_dtype_code_in_numpy_pxd[] =
"unknown dtype code in numpy.pxd (%d)";
1704 static char __pyx_k_Area_Force_Global__getParamsFrom[] =
"Area_Force_Global._getParamsFromEsCore";
1705 static char __pyx_k_Area_Force_Global__setParamsInEs[] =
"Area_Force_Global._setParamsInEsCore";
1706 static char __pyx_k_Area_Force_Global_setDefaultPara[] =
"Area_Force_Global.setDefaultParams";
1707 static char __pyx_k_Area_Force_Local__getParamsFromE[] =
"Area_Force_Local._getParamsFromEsCore";
1708 static char __pyx_k_Area_Force_Local__setParamsInEsC[] =
"Area_Force_Local._setParamsInEsCore";
1709 static char __pyx_k_Area_Force_Local_setDefaultParam[] =
"Area_Force_Local.setDefaultParams";
1710 static char __pyx_k_At_least_the_following_keys_have[] =
"At least the following keys have to be given as keyword arguments: ";
1711 static char __pyx_k_Bending_Force__getParamsFromEsCo[] =
"Bending_Force._getParamsFromEsCore";
1712 static char __pyx_k_Bending_Force__setParamsInEsCore[] =
"Bending_Force._setParamsInEsCore";
1713 static char __pyx_k_BondedInteractionNotDefined___in[] =
"BondedInteractionNotDefined.__init__";
1714 static char __pyx_k_BondedInteractionNotDefined__get[] =
"BondedInteractionNotDefined._getParamsFromEsCore";
1715 static char __pyx_k_BondedInteractionNotDefined__set[] =
"BondedInteractionNotDefined._setParamsInEsCore";
1716 static char __pyx_k_BondedInteractionNotDefined_requ[] =
"BondedInteractionNotDefined.requiredKeys";
1717 static char __pyx_k_BondedInteractionNotDefined_setD[] =
"BondedInteractionNotDefined.setDefaultParams";
1718 static char __pyx_k_BondedInteractionNotDefined_type[] =
"BondedInteractionNotDefined.typeNumber";
1719 static char __pyx_k_BondedInteractionNotDefined_vali[] =
"BondedInteractionNotDefined.validKeys";
1720 static char __pyx_k_Could_not_set_Generic_Lennard_Jo[] =
"Could not set Generic Lennard Jones parameters";
1721 static char __pyx_k_Could_not_set_Lennard_Jones_para[] =
"Could not set Lennard Jones parameters";
1722 static char __pyx_k_Format_string_allocated_too_shor[] =
"Format string allocated too short, see comment in numpy.pxd";
1723 static char __pyx_k_Generic_Lennard_Jones_cutoff_has[] =
"Generic Lennard-Jones cutoff has to be >=0";
1724 static char __pyx_k_Generic_Lennard_Jones_eps_has_to[] =
"Generic Lennard-Jones eps has to be >=0";
1725 static char __pyx_k_HarmonicBond__getParamsFromEsCor[] =
"HarmonicBond._getParamsFromEsCore";
1726 static char __pyx_k_HarmonicDumbbellBond__getParamsF[] =
"HarmonicDumbbellBond._getParamsFromEsCore";
1727 static char __pyx_k_HarmonicDumbbellBond__setParamsI[] =
"HarmonicDumbbellBond._setParamsInEsCore";
1728 static char __pyx_k_HarmonicDumbbellBond_requiredKey[] =
"HarmonicDumbbellBond.requiredKeys";
1729 static char __pyx_k_HarmonicDumbbellBond_setDefaultP[] =
"HarmonicDumbbellBond.setDefaultParams";
1730 static char __pyx_k_Index_to_BondedInteractions_hast[] =
"Index to BondedInteractions[] hast to ba an integer referring to a bond id";
1731 static char __pyx_k_Lennard_Jones_cutoff_has_to_be_0[] =
"Lennard-Jones cutoff has to be >=0";
1732 static char __pyx_k_NonBondedInteractionHandle___ini[] =
"NonBondedInteractionHandle.__init__";
1733 static char __pyx_k_NonBondedInteractions_expects_tw[] =
"NonBondedInteractions[] expects two particle types as indices.";
1734 static char __pyx_k_Non_native_byte_order_not_suppor[] =
"Non-native byte order not supported";
1735 static char __pyx_k_Only_subclasses_of_BondedInterac[] =
"Only subclasses of BondedInteraction can be assigned.";
1736 static char __pyx_k_Only_the_following_keys_are_supp[] =
"Only the following keys are supported: ";
1737 static char __pyx_k_Provides_access_to_all_Non_bonde[] =
"Provides access to all Non-bonded interactions between\n two particle types.";
1738 static char __pyx_k_Represents_the_bonded_interactio[] =
"Represents the bonded interactions. Individual interactions can be accessed using\n NonBondedInteractions[i], where i is the bond id. Will return an instance o\n BondedInteractionHandle";
1739 static char __pyx_k_Stretching_Force__getParamsFromE[] =
"Stretching_Force._getParamsFromEsCore";
1740 static char __pyx_k_Stretching_Force__setParamsInEsC[] =
"Stretching_Force._setParamsInEsCore";
1741 static char __pyx_k_Stretching_Force_setDefaultParam[] =
"Stretching_Force.setDefaultParams";
1742 static char __pyx_k_Stretchlin_Force__getParamsFromE[] =
"Stretchlin_Force._getParamsFromEsCore";
1743 static char __pyx_k_Stretchlin_Force__setParamsInEsC[] =
"Stretchlin_Force._setParamsInEsCore";
1744 static char __pyx_k_Stretchlin_Force_setDefaultParam[] =
"Stretchlin_Force.setDefaultParams";
1745 static char __pyx_k_Subclasses_of_NonBondedInteracti[] =
"Subclasses of NonBondedInteraction must define the _getParamsFromEsCore() method.";
1746 static char __pyx_k_The_bond_with_this_id_is_not_def[] =
"The bond with this id is not defined as a ";
1747 static char __pyx_k_The_constructor_has_to_be_called[] =
"The constructor has to be called either with two particle type ids (as interger), or with a set of keyword arguments describing a new interaction";
1748 static char __pyx_k_The_particle_types_have_to_be_of[] =
"The particle types have to be of type integer.";
1749 static char __pyx_k_Volume_Force__getParamsFromEsCor[] =
"Volume_Force._getParamsFromEsCore";
1750 static char __pyx_k_ndarray_is_not_Fortran_contiguou[] =
"ndarray is not Fortran contiguous";
1751 static char __pyx_k_Subclasses_of_BondedInteraction_2[] =
"Subclasses of BondedInteraction must define the setParamsFromEsCore() method.";
1752 static char __pyx_k_Subclasses_of_BondedInteraction_3[] =
"Subclasses of BondedInteraction must define the setDefaultParams() method.";
1753 static char __pyx_k_Subclasses_of_BondedInteraction_4[] =
"Subclasses of BondedInteraction must define the typeNumber() method.";
1754 static char __pyx_k_Subclasses_of_BondedInteraction_5[] =
"Subclasses of BondedInteraction must define the typeName() method.";
1755 static char __pyx_k_Subclasses_of_BondedInteraction_6[] =
"Subclasses of BondedInteraction must define the validKeys() method.";
1756 static char __pyx_k_Subclasses_of_BondedInteraction_7[] =
"Subclasses of BondedInteraction must define the requiredKeys() method.";
1757 static char __pyx_k_BondedInteractionNotDefined_type_2[] =
"BondedInteractionNotDefined.typeName";
1758 static char __pyx_k_Format_string_allocated_too_shor_2[] =
"Format string allocated too short.";
1759 static char __pyx_k_Subclasses_of_NonBondedInteracti_2[] =
"Subclasses of NonBondedInteraction must define the setParamsFromEsCore() method.";
1760 static char __pyx_k_Subclasses_of_NonBondedInteracti_3[] =
"Subclasses of NonBondedInteraction must define the defaultParams() method.";
1761 static char __pyx_k_Subclasses_of_NonBondedInteracti_4[] =
"Subclasses of NonBondedInteraction must define the isActive() method.";
1762 static char __pyx_k_Subclasses_of_NonBondedInteracti_5[] =
"Subclasses of NonBondedInteraction must define the typeName() method.";
1763 static char __pyx_k_Subclasses_of_NonBondedInteracti_6[] =
"Subclasses of NonBondedInteraction must define the validKeys() method.";
1764 static char __pyx_k_Subclasses_of_NonBondedInteracti_7[] =
"Subclasses of NonBondedInteraction must define the requiredKeys() method.";
1765 static char __pyx_k_The_constructor_has_to_be_called_2[] =
"The constructor has to be called either with a bond id (as interger), or with a set of keyword arguments describing a new interaction";
1766 static PyObject *__pyx_n_s_A0_g;
1767 static PyObject *__pyx_n_s_A0_l;
1768 static PyObject *__pyx_n_s_ANGLE_COSINE;
1769 static PyObject *__pyx_n_s_ANGLE_COSSQUARE;
1770 static PyObject *__pyx_n_s_ANGLE_HARMONIC;
1771 static PyObject *__pyx_n_s_AREA_FORCE_GLOBAL;
1772 static PyObject *__pyx_n_s_AREA_FORCE_LOCAL;
1773 static PyObject *__pyx_n_s_Angle_Cosine;
1774 static PyObject *__pyx_n_s_Angle_Cosine_typeNumber;
1775 static PyObject *__pyx_n_s_Angle_Cossquare;
1776 static PyObject *__pyx_n_s_Angle_Cossquare_typeNumber;
1777 static PyObject *__pyx_n_s_Angle_Harmonic;
1778 static PyObject *__pyx_n_s_Angle_Harmonic_typeNumber;
1779 static PyObject *__pyx_n_s_Area_Force_Global;
1780 static PyObject *__pyx_n_s_Area_Force_Global__getParamsFrom;
1781 static PyObject *__pyx_n_s_Area_Force_Global__setParamsInEs;
1782 static PyObject *__pyx_n_s_Area_Force_Global_requiredKeys;
1783 static PyObject *__pyx_n_s_Area_Force_Global_setDefaultPara;
1784 static PyObject *__pyx_n_s_Area_Force_Global_typeName;
1785 static PyObject *__pyx_n_s_Area_Force_Global_typeNumber;
1786 static PyObject *__pyx_n_s_Area_Force_Global_validKeys;
1787 static PyObject *__pyx_n_s_Area_Force_Local;
1788 static PyObject *__pyx_n_s_Area_Force_Local__getParamsFromE;
1789 static PyObject *__pyx_n_s_Area_Force_Local__setParamsInEsC;
1790 static PyObject *__pyx_n_s_Area_Force_Local_requiredKeys;
1791 static PyObject *__pyx_n_s_Area_Force_Local_setDefaultParam;
1792 static PyObject *__pyx_n_s_Area_Force_Local_typeName;
1793 static PyObject *__pyx_n_s_Area_Force_Local_typeNumber;
1794 static PyObject *__pyx_n_s_Area_Force_Local_validKeys;
1795 static PyObject *__pyx_kp_s_At_least_the_following_keys_have;
1796 static PyObject *__pyx_n_s_BENDING_FORCE;
1797 static PyObject *__pyx_n_s_BOND_ENDANGLEDIST;
1798 static PyObject *__pyx_n_s_Bending_Force;
1799 static PyObject *__pyx_n_s_Bending_Force__getParamsFromEsCo;
1800 static PyObject *__pyx_n_s_Bending_Force__setParamsInEsCore;
1801 static PyObject *__pyx_n_s_Bending_Force_requiredKeys;
1802 static PyObject *__pyx_n_s_Bending_Force_setDefaultParams;
1803 static PyObject *__pyx_n_s_Bending_Force_typeName;
1804 static PyObject *__pyx_n_s_Bending_Force_typeNumber;
1805 static PyObject *__pyx_n_s_Bending_Force_validKeys;
1806 static PyObject *__pyx_n_s_BondedInteractionNotDefined;
1807 static PyObject *__pyx_n_s_BondedInteractionNotDefined___in;
1808 static PyObject *__pyx_n_s_BondedInteractionNotDefined__get;
1809 static PyObject *__pyx_n_s_BondedInteractionNotDefined__set;
1810 static PyObject *__pyx_n_s_BondedInteractionNotDefined_requ;
1811 static PyObject *__pyx_n_s_BondedInteractionNotDefined_setD;
1812 static PyObject *__pyx_n_s_BondedInteractionNotDefined_type;
1813 static PyObject *__pyx_n_s_BondedInteractionNotDefined_type_2;
1814 static PyObject *__pyx_n_s_BondedInteractionNotDefined_vali;
1815 static PyObject *__pyx_n_s_BondedInteractions;
1816 static PyObject *__pyx_n_s_BondedInteractions___getitem;
1817 static PyObject *__pyx_n_s_BondedInteractions___setitem;
1818 static PyObject *__pyx_kp_s_Could_not_set_Generic_Lennard_Jo;
1819 static PyObject *__pyx_kp_s_Could_not_set_Lennard_Jones_para;
1820 static PyObject *__pyx_kp_s_Could_not_set_forcecap;
1821 static PyObject *__pyx_n_s_DIHEDRAL;
1822 static PyObject *__pyx_n_s_Dihedral;
1823 static PyObject *__pyx_n_s_Dihedral__getParamsFromEsCore;
1824 static PyObject *__pyx_n_s_Dihedral__setParamsInEsCore;
1825 static PyObject *__pyx_n_s_Dihedral_requiredKeys;
1826 static PyObject *__pyx_n_s_Dihedral_setDefaultParams;
1827 static PyObject *__pyx_n_s_Dihedral_typeName;
1828 static PyObject *__pyx_n_s_Dihedral_typeNumber;
1829 static PyObject *__pyx_n_s_Dihedral_validKeys;
1830 static PyObject *__pyx_n_s_Endangledist;
1831 static PyObject *__pyx_n_s_Exception;
1832 static PyObject *__pyx_n_s_FENE;
1833 static PyObject *__pyx_n_s_FeneBond;
1834 static PyObject *__pyx_n_s_FeneBond__getParamsFromEsCore;
1835 static PyObject *__pyx_n_s_FeneBond__setParamsInEsCore;
1836 static PyObject *__pyx_n_s_FeneBond_requiredKeys;
1837 static PyObject *__pyx_n_s_FeneBond_setDefaultParams;
1838 static PyObject *__pyx_n_s_FeneBond_typeName;
1839 static PyObject *__pyx_n_s_FeneBond_typeNumber;
1840 static PyObject *__pyx_n_s_FeneBond_validKeys;
1841 static PyObject *__pyx_kp_u_Format_string_allocated_too_shor;
1842 static PyObject *__pyx_kp_u_Format_string_allocated_too_shor_2;
1843 static PyObject *__pyx_n_s_GenericLennardJones;
1844 static PyObject *__pyx_kp_s_Generic_Lennard_Jones_cutoff_has;
1845 static PyObject *__pyx_kp_s_Generic_Lennard_Jones_eps_has_to;
1846 static PyObject *__pyx_kp_s_Generic_Lennard_Jones_sigma_has;
1847 static PyObject *__pyx_n_s_HARMONIC;
1848 static PyObject *__pyx_n_s_HARMONIC_DUMBBELL;
1849 static PyObject *__pyx_n_s_HarmonicBond;
1850 static PyObject *__pyx_n_s_HarmonicBond__getParamsFromEsCor;
1851 static PyObject *__pyx_n_s_HarmonicBond__setParamsInEsCore;
1852 static PyObject *__pyx_n_s_HarmonicBond_requiredKeys;
1853 static PyObject *__pyx_n_s_HarmonicBond_setDefaultParams;
1854 static PyObject *__pyx_n_s_HarmonicBond_typeName;
1855 static PyObject *__pyx_n_s_HarmonicBond_typeNumber;
1856 static PyObject *__pyx_n_s_HarmonicBond_validKeys;
1857 static PyObject *__pyx_n_s_HarmonicDumbbellBond;
1858 static PyObject *__pyx_n_s_HarmonicDumbbellBond__getParamsF;
1859 static PyObject *__pyx_n_s_HarmonicDumbbellBond__setParamsI;
1860 static PyObject *__pyx_n_s_HarmonicDumbbellBond_requiredKey;
1861 static PyObject *__pyx_n_s_HarmonicDumbbellBond_setDefaultP;
1862 static PyObject *__pyx_n_s_HarmonicDumbbellBond_typeName;
1863 static PyObject *__pyx_n_s_HarmonicDumbbellBond_typeNumber;
1864 static PyObject *__pyx_n_s_HarmonicDumbbellBond_validKeys;
1865 static PyObject *__pyx_kp_s_Index_to_BondedInteractions_has;
1866 static PyObject *__pyx_kp_s_Index_to_BondedInteractions_hast;
1867 static PyObject *__pyx_n_s_LennardJones;
1868 static PyObject *__pyx_kp_s_Lennard_Jones_cutoff_has_to_be_0;
1869 static PyObject *__pyx_kp_s_Lennard_Jones_eps_has_to_be_0;
1870 static PyObject *__pyx_kp_s_Lennard_Jones_sigma_has_to_be_0;
1871 static PyObject *__pyx_n_s_NonBondedInteractionHandle;
1872 static PyObject *__pyx_n_s_NonBondedInteractionHandle___ini;
1873 static PyObject *__pyx_kp_s_NonBondedInteractions_expects_tw;
1874 static PyObject *__pyx_kp_u_Non_native_byte_order_not_suppor;
1875 static PyObject *__pyx_n_s_OVERLAPPED;
1876 static PyObject *__pyx_kp_s_Only_subclasses_of_BondedInterac;
1877 static PyObject *__pyx_kp_s_Only_the_following_keys_are_supp;
1878 static PyObject *__pyx_n_s_Overlapped;
1879 static PyObject *__pyx_n_s_Overlapped__getParamsFromEsCore;
1880 static PyObject *__pyx_n_s_Overlapped__setParamsInEsCore;
1881 static PyObject *__pyx_n_s_Overlapped_requiredKeys;
1882 static PyObject *__pyx_n_s_Overlapped_setDefaultParams;
1883 static PyObject *__pyx_n_s_Overlapped_typeName;
1884 static PyObject *__pyx_n_s_Overlapped_typeNumber;
1885 static PyObject *__pyx_n_s_Overlapped_validKeys;
1886 static PyObject *__pyx_kp_s_Provides_access_to_all_Non_bonde;
1887 static PyObject *__pyx_n_s_RIGID;
1888 static PyObject *__pyx_kp_s_Represents_the_bonded_interactio;
1889 static PyObject *__pyx_n_s_RigidBond;
1890 static PyObject *__pyx_n_s_RuntimeError;
1891 static PyObject *__pyx_n_s_STRETCHING_FORCE;
1892 static PyObject *__pyx_n_s_STRETCHLIN_FORCE;
1893 static PyObject *__pyx_n_s_SUBT_LJ;
1894 static PyObject *__pyx_n_s_Stretching_Force;
1895 static PyObject *__pyx_n_s_Stretching_Force__getParamsFromE;
1896 static PyObject *__pyx_n_s_Stretching_Force__setParamsInEsC;
1897 static PyObject *__pyx_n_s_Stretching_Force_requiredKeys;
1898 static PyObject *__pyx_n_s_Stretching_Force_setDefaultParam;
1899 static PyObject *__pyx_n_s_Stretching_Force_typeName;
1900 static PyObject *__pyx_n_s_Stretching_Force_typeNumber;
1901 static PyObject *__pyx_n_s_Stretching_Force_validKeys;
1902 static PyObject *__pyx_n_s_Stretchlin_Force;
1903 static PyObject *__pyx_n_s_Stretchlin_Force__getParamsFromE;
1904 static PyObject *__pyx_n_s_Stretchlin_Force__setParamsInEsC;
1905 static PyObject *__pyx_n_s_Stretchlin_Force_requiredKeys;
1906 static PyObject *__pyx_n_s_Stretchlin_Force_setDefaultParam;
1907 static PyObject *__pyx_n_s_Stretchlin_Force_typeName;
1908 static PyObject *__pyx_n_s_Stretchlin_Force_typeNumber;
1909 static PyObject *__pyx_n_s_Stretchlin_Force_validKeys;
1910 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction;
1911 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction_2;
1912 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction_3;
1913 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction_4;
1914 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction_5;
1915 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction_6;
1916 static PyObject *__pyx_kp_s_Subclasses_of_BondedInteraction_7;
1917 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti;
1918 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti_2;
1919 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti_3;
1920 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti_4;
1921 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti_5;
1922 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti_6;
1923 static PyObject *__pyx_kp_s_Subclasses_of_NonBondedInteracti_7;
1924 static PyObject *__pyx_n_s_Subt_Lj;
1925 static PyObject *__pyx_n_s_Subt_Lj__getParamsFromEsCore;
1926 static PyObject *__pyx_n_s_Subt_Lj__setParamsInEsCore;
1927 static PyObject *__pyx_n_s_Subt_Lj_requiredKeys;
1928 static PyObject *__pyx_n_s_Subt_Lj_setDefaultParams;
1929 static PyObject *__pyx_n_s_Subt_Lj_typeName;
1930 static PyObject *__pyx_n_s_Subt_Lj_typeNumber;
1931 static PyObject *__pyx_n_s_Subt_Lj_validKeys;
1932 static PyObject *__pyx_n_s_TABULATED;
1933 static PyObject *__pyx_n_s_Tabulated;
1934 static PyObject *__pyx_n_s_Tabulated__getParamsFromEsCore;
1935 static PyObject *__pyx_n_s_Tabulated__setParamsInEsCore;
1936 static PyObject *__pyx_n_s_Tabulated_requiredKeys;
1937 static PyObject *__pyx_n_s_Tabulated_setDefaultParams;
1938 static PyObject *__pyx_n_s_Tabulated_typeName;
1939 static PyObject *__pyx_n_s_Tabulated_typeNumber;
1940 static PyObject *__pyx_n_s_Tabulated_validKeys;
1941 static PyObject *__pyx_kp_s_The_bond_with_this_id_is_not_def;
1942 static PyObject *__pyx_kp_s_The_bonded_interaction_with_the;
1943 static PyObject *__pyx_kp_s_The_constructor_has_to_be_called;
1944 static PyObject *__pyx_kp_s_The_constructor_has_to_be_called_2;
1945 static PyObject *__pyx_kp_s_The_particle_types_have_to_be_of;
1946 static PyObject *__pyx_n_s_TypeError;
1947 static PyObject *__pyx_n_s_V0;
1948 static PyObject *__pyx_n_s_VIRTUAL;
1949 static PyObject *__pyx_n_s_VOLUME_FORCE;
1950 static PyObject *__pyx_n_s_ValueError;
1951 static PyObject *__pyx_n_s_Virtual;
1952 static PyObject *__pyx_n_s_Virtual__getParamsFromEsCore;
1953 static PyObject *__pyx_n_s_Virtual__setParamsInEsCore;
1954 static PyObject *__pyx_n_s_Virtual_requiredKeys;
1955 static PyObject *__pyx_n_s_Virtual_setDefaultParams;
1956 static PyObject *__pyx_n_s_Virtual_typeName;
1957 static PyObject *__pyx_n_s_Virtual_typeNumber;
1958 static PyObject *__pyx_n_s_Virtual_validKeys;
1959 static PyObject *__pyx_n_s_Volume_Force;
1960 static PyObject *__pyx_n_s_Volume_Force__getParamsFromEsCor;
1961 static PyObject *__pyx_n_s_Volume_Force__setParamsInEsCore;
1962 static PyObject *__pyx_n_s_Volume_Force_requiredKeys;
1963 static PyObject *__pyx_n_s_Volume_Force_setDefaultParams;
1964 static PyObject *__pyx_n_s_Volume_Force_typeName;
1965 static PyObject *__pyx_n_s_Volume_Force_typeNumber;
1966 static PyObject *__pyx_n_s_Volume_Force_validKeys;
1967 static PyObject *__pyx_kp_s__43;
1968 static PyObject *__pyx_kp_s__67;
1969 static PyObject *__pyx_n_s_args;
1970 static PyObject *__pyx_n_s_auto;
1971 static PyObject *__pyx_n_s_b1;
1972 static PyObject *__pyx_n_s_b2;
1973 static PyObject *__pyx_n_s_bend;
1974 static PyObject *__pyx_n_s_bondClass;
1975 static PyObject *__pyx_n_s_bondId;
1976 static PyObject *__pyx_n_s_bondId_2;
1977 static PyObject *__pyx_n_s_bondType;
1978 static PyObject *__pyx_kp_s_bond_in_the_Espresso_core;
1979 static PyObject *__pyx_n_s_bondedInteractionClasses;
1980 static PyObject *__pyx_n_s_class_s;
1981 static PyObject *__pyx_n_s_cutoff;
1982 static PyObject *__pyx_n_s_d_r_max;
1983 static PyObject *__pyx_n_s_defaultParams;
1984 static PyObject *__pyx_n_s_delta;
1985 static PyObject *__pyx_n_s_doc;
1986 static PyObject *__pyx_n_s_e1;
1987 static PyObject *__pyx_n_s_e2;
1988 static PyObject *__pyx_n_s_end;
1989 static PyObject *__pyx_n_s_epsilon;
1990 static PyObject *__pyx_n_s_espressomd_interactions;
1991 static PyObject *__pyx_n_s_file;
1992 static PyObject *__pyx_n_s_filename;
1993 static PyObject *__pyx_n_s_genericLennardJones;
1994 static PyObject *__pyx_n_s_getParamsFromEsCore;
1995 static PyObject *__pyx_n_s_getitem;
1996 static PyObject *__pyx_kp_s_home_haozeke_Github_LabBom_espr;
1997 static PyObject *__pyx_n_s_import;
1998 static PyObject *__pyx_n_s_init;
1999 static PyObject *__pyx_n_s_invstepsize;
2000 static PyObject *__pyx_n_s_isActive;
2001 static PyObject *__pyx_kp_s_is_not_yet_defined;
2002 static PyObject *__pyx_n_s_k;
2003 static PyObject *__pyx_n_s_k1;
2004 static PyObject *__pyx_n_s_k2;
2005 static PyObject *__pyx_kp_s_k_2;
2006 static PyObject *__pyx_n_s_ka_g;
2007 static PyObject *__pyx_n_s_ka_l;
2008 static PyObject *__pyx_n_s_kb;
2009 static PyObject *__pyx_n_s_key;
2010 static PyObject *__pyx_n_s_keys;
2011 static PyObject *__pyx_n_s_ks;
2012 static PyObject *__pyx_n_s_kslin;
2013 static PyObject *__pyx_n_s_kv;
2014 static PyObject *__pyx_n_s_kwargs;
2015 static PyObject *__pyx_n_s_lambda;
2016 static PyObject *__pyx_n_s_lennardJones;
2017 static PyObject *__pyx_n_s_main;
2018 static PyObject *__pyx_n_s_maxval;
2019 static PyObject *__pyx_n_s_metaclass;
2020 static PyObject *__pyx_n_s_min;
2021 static PyObject *__pyx_n_s_minval;
2022 static PyObject *__pyx_n_s_module;
2023 static PyObject *__pyx_n_s_mult;
2024 static PyObject *__pyx_kp_s_mult_2;
2025 static PyObject *__pyx_n_s_name;
2026 static PyObject *__pyx_n_s_name_2;
2027 static PyObject *__pyx_kp_u_ndarray_is_not_C_contiguous;
2028 static PyObject *__pyx_kp_u_ndarray_is_not_Fortran_contiguou;
2029 static PyObject *__pyx_kp_s_not_compiled_into_Espresso_core;
2030 static PyObject *__pyx_n_s_npoints;
2031 static PyObject *__pyx_n_s_object;
2032 static PyObject *__pyx_n_s_offset;
2033 static PyObject *__pyx_n_s_overlap_type;
2034 static PyObject *__pyx_n_s_params;
2035 static PyObject *__pyx_n_s_params_2;
2036 static PyObject *__pyx_n_s_phase;
2037 static PyObject *__pyx_n_s_phi0;
2038 static PyObject *__pyx_n_s_prepare;
2039 static PyObject *__pyx_n_s_print;
2040 static PyObject *__pyx_n_s_qualname;
2041 static PyObject *__pyx_n_s_r;
2042 static PyObject *__pyx_n_s_r0;
2043 static PyObject *__pyx_n_s_r_0;
2044 static PyObject *__pyx_n_s_r_cut;
2045 static PyObject *__pyx_n_s_range;
2046 static PyObject *__pyx_n_s_requiredKeys;
2047 static PyObject *__pyx_kp_s_s_has_to_be_defined_in_myconfig;
2048 static PyObject *__pyx_n_s_self;
2049 static PyObject *__pyx_n_s_setDefaultParams;
2050 static PyObject *__pyx_n_s_setParamsInEsCore;
2051 static PyObject *__pyx_n_s_setitem;
2052 static PyObject *__pyx_n_s_shift;
2053 static PyObject *__pyx_n_s_sigma;
2054 static PyObject *__pyx_n_s_str;
2055 static PyObject *__pyx_n_s_test;
2056 static PyObject *__pyx_n_s_type;
2057 static PyObject *__pyx_n_s_type1;
2058 static PyObject *__pyx_n_s_type1_2;
2059 static PyObject *__pyx_n_s_type2;
2060 static PyObject *__pyx_n_s_type2_2;
2061 static PyObject *__pyx_n_s_typeName;
2062 static PyObject *__pyx_n_s_typeNumber;
2063 static PyObject *__pyx_kp_u_unknown_dtype_code_in_numpy_pxd;
2064 static PyObject *__pyx_n_s_update;
2065 static PyObject *__pyx_n_s_validKeys;
2066 static PyObject *__pyx_n_s_validateParams;
2067 static PyObject *__pyx_n_s_value;
2068 static PyObject *__pyx_float_0_;
2069 static PyObject *__pyx_float_1_;
2070 static PyObject *__pyx_int_0;
2071 static PyObject *__pyx_int_1;
2072 static PyObject *__pyx_int_2;
2073 static PyObject *__pyx_int_3;
2074 static PyObject *__pyx_int_5;
2075 static PyObject *__pyx_int_6;
2076 static PyObject *__pyx_int_7;
2077 static PyObject *__pyx_int_9;
2078 static PyObject *__pyx_int_11;
2079 static PyObject *__pyx_int_12;
2080 static PyObject *__pyx_int_13;
2081 static PyObject *__pyx_int_14;
2082 static PyObject *__pyx_int_15;
2083 static PyObject *__pyx_int_16;
2084 static PyObject *__pyx_int_17;
2085 static PyObject *__pyx_int_18;
2086 static PyObject *__pyx_int_19;
2087 static PyObject *__pyx_int_20;
2088 static PyObject *__pyx_int_21;
2089 static PyObject *__pyx_int_neg_1;
2090 static PyObject *__pyx_tuple_;
2091 static PyObject *__pyx_tuple__2;
2092 static PyObject *__pyx_tuple__3;
2093 static PyObject *__pyx_tuple__4;
2094 static PyObject *__pyx_tuple__5;
2095 static PyObject *__pyx_tuple__6;
2096 static PyObject *__pyx_tuple__7;
2097 static PyObject *__pyx_tuple__8;
2098 static PyObject *__pyx_tuple__9;
2099 static PyObject *__pyx_tuple__10;
2100 static PyObject *__pyx_tuple__11;
2101 static PyObject *__pyx_tuple__12;
2102 static PyObject *__pyx_tuple__13;
2103 static PyObject *__pyx_tuple__14;
2104 static PyObject *__pyx_tuple__15;
2105 static PyObject *__pyx_tuple__16;
2106 static PyObject *__pyx_tuple__17;
2107 static PyObject *__pyx_tuple__18;
2108 static PyObject *__pyx_tuple__19;
2109 static PyObject *__pyx_tuple__20;
2110 static PyObject *__pyx_tuple__21;
2111 static PyObject *__pyx_tuple__22;
2112 static PyObject *__pyx_tuple__23;
2113 static PyObject *__pyx_tuple__24;
2114 static PyObject *__pyx_tuple__25;
2115 static PyObject *__pyx_tuple__26;
2116 static PyObject *__pyx_tuple__27;
2117 static PyObject *__pyx_tuple__28;
2118 static PyObject *__pyx_tuple__29;
2119 static PyObject *__pyx_tuple__30;
2120 static PyObject *__pyx_tuple__31;
2121 static PyObject *__pyx_tuple__32;
2122 static PyObject *__pyx_tuple__33;
2123 static PyObject *__pyx_tuple__34;
2124 static PyObject *__pyx_tuple__35;
2125 static PyObject *__pyx_tuple__36;
2126 static PyObject *__pyx_tuple__37;
2127 static PyObject *__pyx_tuple__38;
2128 static PyObject *__pyx_tuple__39;
2129 static PyObject *__pyx_tuple__40;
2130 static PyObject *__pyx_tuple__41;
2131 static PyObject *__pyx_tuple__42;
2132 static PyObject *__pyx_tuple__44;
2133 static PyObject *__pyx_tuple__45;
2134 static PyObject *__pyx_tuple__46;
2135 static PyObject *__pyx_tuple__47;
2136 static PyObject *__pyx_tuple__48;
2137 static PyObject *__pyx_tuple__49;
2138 static PyObject *__pyx_tuple__50;
2139 static PyObject *__pyx_tuple__51;
2140 static PyObject *__pyx_tuple__52;
2141 static PyObject *__pyx_tuple__53;
2142 static PyObject *__pyx_tuple__54;
2143 static PyObject *__pyx_tuple__55;
2144 static PyObject *__pyx_tuple__56;
2145 static PyObject *__pyx_tuple__57;
2146 static PyObject *__pyx_tuple__58;
2147 static PyObject *__pyx_tuple__59;
2148 static PyObject *__pyx_tuple__60;
2149 static PyObject *__pyx_tuple__61;
2150 static PyObject *__pyx_tuple__62;
2151 static PyObject *__pyx_tuple__63;
2152 static PyObject *__pyx_tuple__64;
2153 static PyObject *__pyx_tuple__65;
2154 static PyObject *__pyx_tuple__66;
2155 static PyObject *__pyx_tuple__68;
2156 static PyObject *__pyx_tuple__69;
2157 static PyObject *__pyx_tuple__70;
2158 static PyObject *__pyx_tuple__71;
2159 static PyObject *__pyx_tuple__72;
2160 static PyObject *__pyx_tuple__73;
2161 static PyObject *__pyx_tuple__74;
2162 static PyObject *__pyx_tuple__75;
2163 static PyObject *__pyx_tuple__76;
2164 static PyObject *__pyx_tuple__78;
2165 static PyObject *__pyx_tuple__80;
2166 static PyObject *__pyx_tuple__82;
2167 static PyObject *__pyx_tuple__84;
2168 static PyObject *__pyx_tuple__86;
2169 static PyObject *__pyx_tuple__88;
2170 static PyObject *__pyx_tuple__90;
2171 static PyObject *__pyx_tuple__92;
2172 static PyObject *__pyx_tuple__94;
2173 static PyObject *__pyx_tuple__96;
2174 static PyObject *__pyx_tuple__98;
2175 static PyObject *__pyx_tuple__100;
2176 static PyObject *__pyx_tuple__102;
2177 static PyObject *__pyx_tuple__104;
2178 static PyObject *__pyx_tuple__106;
2179 static PyObject *__pyx_tuple__108;
2180 static PyObject *__pyx_tuple__110;
2181 static PyObject *__pyx_tuple__112;
2182 static PyObject *__pyx_tuple__114;
2183 static PyObject *__pyx_tuple__116;
2184 static PyObject *__pyx_tuple__118;
2185 static PyObject *__pyx_tuple__120;
2186 static PyObject *__pyx_tuple__122;
2187 static PyObject *__pyx_tuple__124;
2188 static PyObject *__pyx_tuple__126;
2189 static PyObject *__pyx_tuple__128;
2190 static PyObject *__pyx_tuple__130;
2191 static PyObject *__pyx_tuple__132;
2192 static PyObject *__pyx_tuple__134;
2193 static PyObject *__pyx_tuple__136;
2194 static PyObject *__pyx_tuple__138;
2195 static PyObject *__pyx_tuple__140;
2196 static PyObject *__pyx_tuple__142;
2197 static PyObject *__pyx_tuple__144;
2198 static PyObject *__pyx_tuple__146;
2199 static PyObject *__pyx_tuple__148;
2200 static PyObject *__pyx_tuple__150;
2201 static PyObject *__pyx_tuple__152;
2202 static PyObject *__pyx_tuple__154;
2203 static PyObject *__pyx_tuple__156;
2204 static PyObject *__pyx_tuple__158;
2205 static PyObject *__pyx_tuple__160;
2206 static PyObject *__pyx_tuple__162;
2207 static PyObject *__pyx_tuple__164;
2208 static PyObject *__pyx_tuple__166;
2209 static PyObject *__pyx_tuple__168;
2210 static PyObject *__pyx_tuple__170;
2211 static PyObject *__pyx_tuple__172;
2212 static PyObject *__pyx_tuple__174;
2213 static PyObject *__pyx_tuple__176;
2214 static PyObject *__pyx_tuple__178;
2215 static PyObject *__pyx_tuple__180;
2216 static PyObject *__pyx_tuple__182;
2217 static PyObject *__pyx_tuple__184;
2218 static PyObject *__pyx_tuple__186;
2219 static PyObject *__pyx_tuple__188;
2220 static PyObject *__pyx_tuple__190;
2221 static PyObject *__pyx_tuple__192;
2222 static PyObject *__pyx_tuple__194;
2223 static PyObject *__pyx_tuple__196;
2224 static PyObject *__pyx_tuple__198;
2225 static PyObject *__pyx_tuple__200;
2226 static PyObject *__pyx_tuple__202;
2227 static PyObject *__pyx_tuple__204;
2228 static PyObject *__pyx_tuple__206;
2229 static PyObject *__pyx_tuple__208;
2230 static PyObject *__pyx_tuple__210;
2231 static PyObject *__pyx_tuple__212;
2232 static PyObject *__pyx_tuple__214;
2233 static PyObject *__pyx_tuple__216;
2234 static PyObject *__pyx_tuple__218;
2235 static PyObject *__pyx_tuple__220;
2236 static PyObject *__pyx_tuple__222;
2237 static PyObject *__pyx_tuple__224;
2238 static PyObject *__pyx_tuple__226;
2239 static PyObject *__pyx_tuple__228;
2240 static PyObject *__pyx_tuple__230;
2241 static PyObject *__pyx_tuple__232;
2242 static PyObject *__pyx_tuple__234;
2243 static PyObject *__pyx_tuple__236;
2244 static PyObject *__pyx_tuple__238;
2245 static PyObject *__pyx_tuple__240;
2246 static PyObject *__pyx_tuple__242;
2247 static PyObject *__pyx_tuple__244;
2248 static PyObject *__pyx_tuple__246;
2249 static PyObject *__pyx_tuple__248;
2250 static PyObject *__pyx_tuple__250;
2251 static PyObject *__pyx_tuple__252;
2252 static PyObject *__pyx_tuple__254;
2253 static PyObject *__pyx_tuple__256;
2254 static PyObject *__pyx_tuple__258;
2255 static PyObject *__pyx_tuple__260;
2256 static PyObject *__pyx_tuple__262;
2257 static PyObject *__pyx_tuple__264;
2258 static PyObject *__pyx_tuple__266;
2259 static PyObject *__pyx_tuple__268;
2260 static PyObject *__pyx_tuple__270;
2261 static PyObject *__pyx_tuple__272;
2262 static PyObject *__pyx_tuple__274;
2263 static PyObject *__pyx_tuple__276;
2264 static PyObject *__pyx_tuple__278;
2265 static PyObject *__pyx_tuple__280;
2266 static PyObject *__pyx_tuple__282;
2267 static PyObject *__pyx_tuple__284;
2268 static PyObject *__pyx_tuple__286;
2269 static PyObject *__pyx_tuple__288;
2270 static PyObject *__pyx_tuple__290;
2271 static PyObject *__pyx_tuple__292;
2272 static PyObject *__pyx_tuple__294;
2273 static PyObject *__pyx_tuple__296;
2274 static PyObject *__pyx_tuple__298;
2275 static PyObject *__pyx_tuple__300;
2276 static PyObject *__pyx_tuple__302;
2277 static PyObject *__pyx_tuple__304;
2278 static PyObject *__pyx_tuple__306;
2279 static PyObject *__pyx_tuple__308;
2280 static PyObject *__pyx_tuple__310;
2281 static PyObject *__pyx_tuple__312;
2282 static PyObject *__pyx_tuple__314;
2283 static PyObject *__pyx_tuple__316;
2284 static PyObject *__pyx_tuple__318;
2285 static PyObject *__pyx_tuple__320;
2286 static PyObject *__pyx_tuple__322;
2287 static PyObject *__pyx_tuple__324;
2288 static PyObject *__pyx_tuple__326;
2289 static PyObject *__pyx_tuple__328;
2290 static PyObject *__pyx_tuple__330;
2291 static PyObject *__pyx_tuple__332;
2292 static PyObject *__pyx_tuple__334;
2293 static PyObject *__pyx_codeobj__77;
2294 static PyObject *__pyx_codeobj__79;
2295 static PyObject *__pyx_codeobj__81;
2296 static PyObject *__pyx_codeobj__83;
2297 static PyObject *__pyx_codeobj__85;
2298 static PyObject *__pyx_codeobj__87;
2299 static PyObject *__pyx_codeobj__89;
2300 static PyObject *__pyx_codeobj__91;
2301 static PyObject *__pyx_codeobj__93;
2302 static PyObject *__pyx_codeobj__95;
2303 static PyObject *__pyx_codeobj__97;
2304 static PyObject *__pyx_codeobj__99;
2305 static PyObject *__pyx_codeobj__101;
2306 static PyObject *__pyx_codeobj__103;
2307 static PyObject *__pyx_codeobj__105;
2308 static PyObject *__pyx_codeobj__107;
2309 static PyObject *__pyx_codeobj__109;
2310 static PyObject *__pyx_codeobj__111;
2311 static PyObject *__pyx_codeobj__113;
2312 static PyObject *__pyx_codeobj__115;
2313 static PyObject *__pyx_codeobj__117;
2314 static PyObject *__pyx_codeobj__119;
2315 static PyObject *__pyx_codeobj__121;
2316 static PyObject *__pyx_codeobj__123;
2317 static PyObject *__pyx_codeobj__125;
2318 static PyObject *__pyx_codeobj__127;
2319 static PyObject *__pyx_codeobj__129;
2320 static PyObject *__pyx_codeobj__131;
2321 static PyObject *__pyx_codeobj__133;
2322 static PyObject *__pyx_codeobj__135;
2323 static PyObject *__pyx_codeobj__137;
2324 static PyObject *__pyx_codeobj__139;
2325 static PyObject *__pyx_codeobj__141;
2326 static PyObject *__pyx_codeobj__143;
2327 static PyObject *__pyx_codeobj__145;
2328 static PyObject *__pyx_codeobj__147;
2329 static PyObject *__pyx_codeobj__149;
2330 static PyObject *__pyx_codeobj__151;
2331 static PyObject *__pyx_codeobj__153;
2332 static PyObject *__pyx_codeobj__155;
2333 static PyObject *__pyx_codeobj__157;
2334 static PyObject *__pyx_codeobj__159;
2335 static PyObject *__pyx_codeobj__161;
2336 static PyObject *__pyx_codeobj__163;
2337 static PyObject *__pyx_codeobj__165;
2338 static PyObject *__pyx_codeobj__167;
2339 static PyObject *__pyx_codeobj__169;
2340 static PyObject *__pyx_codeobj__171;
2341 static PyObject *__pyx_codeobj__173;
2342 static PyObject *__pyx_codeobj__175;
2343 static PyObject *__pyx_codeobj__177;
2344 static PyObject *__pyx_codeobj__179;
2345 static PyObject *__pyx_codeobj__181;
2346 static PyObject *__pyx_codeobj__183;
2347 static PyObject *__pyx_codeobj__185;
2348 static PyObject *__pyx_codeobj__187;
2349 static PyObject *__pyx_codeobj__189;
2350 static PyObject *__pyx_codeobj__191;
2351 static PyObject *__pyx_codeobj__193;
2352 static PyObject *__pyx_codeobj__195;
2353 static PyObject *__pyx_codeobj__197;
2354 static PyObject *__pyx_codeobj__199;
2355 static PyObject *__pyx_codeobj__201;
2356 static PyObject *__pyx_codeobj__203;
2357 static PyObject *__pyx_codeobj__205;
2358 static PyObject *__pyx_codeobj__207;
2359 static PyObject *__pyx_codeobj__209;
2360 static PyObject *__pyx_codeobj__211;
2361 static PyObject *__pyx_codeobj__213;
2362 static PyObject *__pyx_codeobj__215;
2363 static PyObject *__pyx_codeobj__217;
2364 static PyObject *__pyx_codeobj__219;
2365 static PyObject *__pyx_codeobj__221;
2366 static PyObject *__pyx_codeobj__223;
2367 static PyObject *__pyx_codeobj__225;
2368 static PyObject *__pyx_codeobj__227;
2369 static PyObject *__pyx_codeobj__229;
2370 static PyObject *__pyx_codeobj__231;
2371 static PyObject *__pyx_codeobj__233;
2372 static PyObject *__pyx_codeobj__235;
2373 static PyObject *__pyx_codeobj__237;
2374 static PyObject *__pyx_codeobj__239;
2375 static PyObject *__pyx_codeobj__241;
2376 static PyObject *__pyx_codeobj__243;
2377 static PyObject *__pyx_codeobj__245;
2378 static PyObject *__pyx_codeobj__247;
2379 static PyObject *__pyx_codeobj__249;
2380 static PyObject *__pyx_codeobj__251;
2381 static PyObject *__pyx_codeobj__253;
2382 static PyObject *__pyx_codeobj__255;
2383 static PyObject *__pyx_codeobj__257;
2384 static PyObject *__pyx_codeobj__259;
2385 static PyObject *__pyx_codeobj__261;
2386 static PyObject *__pyx_codeobj__263;
2387 static PyObject *__pyx_codeobj__265;
2388 static PyObject *__pyx_codeobj__267;
2389 static PyObject *__pyx_codeobj__269;
2390 static PyObject *__pyx_codeobj__271;
2391 static PyObject *__pyx_codeobj__273;
2392 static PyObject *__pyx_codeobj__275;
2393 static PyObject *__pyx_codeobj__277;
2394 static PyObject *__pyx_codeobj__279;
2395 static PyObject *__pyx_codeobj__281;
2396 static PyObject *__pyx_codeobj__283;
2397 static PyObject *__pyx_codeobj__285;
2398 static PyObject *__pyx_codeobj__287;
2399 static PyObject *__pyx_codeobj__289;
2400 static PyObject *__pyx_codeobj__291;
2401 static PyObject *__pyx_codeobj__293;
2402 static PyObject *__pyx_codeobj__295;
2403 static PyObject *__pyx_codeobj__297;
2404 static PyObject *__pyx_codeobj__299;
2405 static PyObject *__pyx_codeobj__301;
2406 static PyObject *__pyx_codeobj__303;
2407 static PyObject *__pyx_codeobj__305;
2408 static PyObject *__pyx_codeobj__307;
2409 static PyObject *__pyx_codeobj__309;
2410 static PyObject *__pyx_codeobj__311;
2411 static PyObject *__pyx_codeobj__313;
2412 static PyObject *__pyx_codeobj__315;
2413 static PyObject *__pyx_codeobj__317;
2414 static PyObject *__pyx_codeobj__319;
2415 static PyObject *__pyx_codeobj__321;
2416 static PyObject *__pyx_codeobj__323;
2417 static PyObject *__pyx_codeobj__325;
2418 static PyObject *__pyx_codeobj__327;
2419 static PyObject *__pyx_codeobj__329;
2420 static PyObject *__pyx_codeobj__331;
2421 static PyObject *__pyx_codeobj__333;
2422 static PyObject *__pyx_codeobj__335;
2433 static int __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
2434 static char __pyx_doc_10espressomd_12interactions_20NonBondedInteraction___init__[] =
"Represents an instance of a non-bonded interaction, such as lennard jones\n Either called with two particle type id, in which case, the interaction\n will represent the bonded interaction as it is defined in Espresso core\n Or called with keyword arguments describing a new interaction.";
2435 #if CYTHON_COMPILING_IN_CPYTHON
2436 struct wrapperbase __pyx_wrapperbase_10espressomd_12interactions_20NonBondedInteraction___init__;
2438 static int __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
2439 PyObject *__pyx_v_args = 0;
2440 PyObject *__pyx_v_kwargs = 0;
2442 __Pyx_RefNannyDeclarations
2443 __Pyx_RefNannySetupContext(
"__init__ (wrapper)", 0);
2444 if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds,
"__init__", 1)))
return -1;
2445 __pyx_v_kwargs = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
2446 if (unlikely(!__pyx_v_kwargs))
return -1;
2447 __Pyx_GOTREF(__pyx_v_kwargs);
2448 __Pyx_INCREF(__pyx_args);
2449 __pyx_v_args = __pyx_args;
2450 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction___init__(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self), __pyx_v_args, __pyx_v_kwargs);
2453 __Pyx_XDECREF(__pyx_v_args);
2454 __Pyx_XDECREF(__pyx_v_kwargs);
2455 __Pyx_RefNannyFinishContext();
2459 static int __pyx_pf_10espressomd_12interactions_20NonBondedInteraction___init__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
2460 PyObject *__pyx_v_k = NULL;
2462 __Pyx_RefNannyDeclarations
2464 Py_ssize_t __pyx_t_2;
2466 PyObject *__pyx_t_4 = NULL;
2468 PyObject *__pyx_t_6 = NULL;
2469 PyObject *__pyx_t_7 = NULL;
2470 PyObject *(*__pyx_t_8)(PyObject *);
2471 PyObject *__pyx_t_9 = NULL;
2472 PyObject *__pyx_t_10 = NULL;
2473 int __pyx_lineno = 0;
2474 const char *__pyx_filename = NULL;
2475 int __pyx_clineno = 0;
2476 __Pyx_RefNannySetupContext(
"__init__", 0);
2485 __pyx_t_2 = PyTuple_GET_SIZE(__pyx_v_args);
if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2486 __pyx_t_3 = ((__pyx_t_2 == 2) != 0);
2489 __pyx_t_1 = __pyx_t_3;
2490 goto __pyx_L4_bool_binop_done;
2492 __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_args, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
2493 __Pyx_GOTREF(__pyx_t_4);
2494 __pyx_t_3 = PyInt_Check(__pyx_t_4);
2495 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2496 __pyx_t_5 = (__pyx_t_3 != 0);
2499 __pyx_t_1 = __pyx_t_5;
2500 goto __pyx_L4_bool_binop_done;
2502 __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_args, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
2503 __Pyx_GOTREF(__pyx_t_4);
2504 __pyx_t_5 = PyInt_Check(__pyx_t_4);
2505 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2506 __pyx_t_3 = (__pyx_t_5 != 0);
2507 __pyx_t_1 = __pyx_t_3;
2508 __pyx_L4_bool_binop_done:;
2518 __Pyx_INCREF(__pyx_v_args);
2519 __Pyx_GIVEREF(__pyx_v_args);
2520 __Pyx_GOTREF(__pyx_v_self->_partTypes);
2521 __Pyx_DECREF(__pyx_v_self->_partTypes);
2522 __pyx_v_self->_partTypes = __pyx_v_args;
2531 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2532 __Pyx_GOTREF(__pyx_t_6);
2534 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
2535 __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
2536 if (likely(__pyx_t_7)) {
2537 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
2538 __Pyx_INCREF(__pyx_t_7);
2539 __Pyx_INCREF(
function);
2540 __Pyx_DECREF_SET(__pyx_t_6,
function);
2544 __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2545 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2547 __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2549 __Pyx_GOTREF(__pyx_t_4);
2550 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2551 __Pyx_GIVEREF(__pyx_t_4);
2552 __Pyx_GOTREF(__pyx_v_self->_params);
2553 __Pyx_DECREF(__pyx_v_self->_params);
2554 __pyx_v_self->_params = __pyx_t_4;
2566 __pyx_t_2 = PyTuple_GET_SIZE(__pyx_v_args);
if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 41; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2567 __pyx_t_1 = ((__pyx_t_2 == 0) != 0);
2577 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_defaultParams);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2578 __Pyx_GOTREF(__pyx_t_6);
2580 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
2581 __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
2582 if (likely(__pyx_t_7)) {
2583 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
2584 __Pyx_INCREF(__pyx_t_7);
2585 __Pyx_INCREF(
function);
2586 __Pyx_DECREF_SET(__pyx_t_6,
function);
2590 __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2591 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2593 __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 43; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2595 __Pyx_GOTREF(__pyx_t_4);
2596 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2597 __Pyx_GIVEREF(__pyx_t_4);
2598 __Pyx_GOTREF(__pyx_v_self->_params);
2599 __Pyx_DECREF(__pyx_v_self->_params);
2600 __pyx_v_self->_params = __pyx_t_4;
2610 __pyx_t_4 = PyList_New(2);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2611 __Pyx_GOTREF(__pyx_t_4);
2612 __Pyx_INCREF(__pyx_int_neg_1);
2613 PyList_SET_ITEM(__pyx_t_4, 0, __pyx_int_neg_1);
2614 __Pyx_GIVEREF(__pyx_int_neg_1);
2615 __Pyx_INCREF(__pyx_int_neg_1);
2616 PyList_SET_ITEM(__pyx_t_4, 1, __pyx_int_neg_1);
2617 __Pyx_GIVEREF(__pyx_int_neg_1);
2618 __Pyx_GIVEREF(__pyx_t_4);
2619 __Pyx_GOTREF(__pyx_v_self->_partTypes);
2620 __Pyx_DECREF(__pyx_v_self->_partTypes);
2621 __pyx_v_self->_partTypes = __pyx_t_4;
2631 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_requiredKeys);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2632 __Pyx_GOTREF(__pyx_t_6);
2634 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
2635 __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
2636 if (likely(__pyx_t_7)) {
2637 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
2638 __Pyx_INCREF(__pyx_t_7);
2639 __Pyx_INCREF(
function);
2640 __Pyx_DECREF_SET(__pyx_t_6,
function);
2644 __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2645 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2647 __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2649 __Pyx_GOTREF(__pyx_t_4);
2650 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2651 if (likely(PyList_CheckExact(__pyx_t_4)) || PyTuple_CheckExact(__pyx_t_4)) {
2652 __pyx_t_6 = __pyx_t_4; __Pyx_INCREF(__pyx_t_6); __pyx_t_2 = 0;
2655 __pyx_t_2 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_4);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2656 __Pyx_GOTREF(__pyx_t_6);
2657 __pyx_t_8 = Py_TYPE(__pyx_t_6)->tp_iternext;
if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2659 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2661 if (likely(!__pyx_t_8)) {
2662 if (likely(PyList_CheckExact(__pyx_t_6))) {
2663 if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_6))
break;
2664 #if CYTHON_COMPILING_IN_CPYTHON
2665 __pyx_t_4 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2667 __pyx_t_4 = PySequence_ITEM(__pyx_t_6, __pyx_t_2); __pyx_t_2++;
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2670 if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_6))
break;
2671 #if CYTHON_COMPILING_IN_CPYTHON
2672 __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2674 __pyx_t_4 = PySequence_ITEM(__pyx_t_6, __pyx_t_2); __pyx_t_2++;
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2678 __pyx_t_4 = __pyx_t_8(__pyx_t_6);
2679 if (unlikely(!__pyx_t_4)) {
2680 PyObject* exc_type = PyErr_Occurred();
2682 if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
2683 else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 47; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2687 __Pyx_GOTREF(__pyx_t_4);
2689 __Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_4);
2699 __pyx_t_1 = (__Pyx_PyDict_Contains(__pyx_v_k, __pyx_v_kwargs, Py_NE));
if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2700 __pyx_t_3 = (__pyx_t_1 != 0);
2710 __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_requiredKeys);
if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2711 __Pyx_GOTREF(__pyx_t_9);
2713 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_9))) {
2714 __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_9);
2715 if (likely(__pyx_t_10)) {
2716 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_9);
2717 __Pyx_INCREF(__pyx_t_10);
2718 __Pyx_INCREF(
function);
2719 __Pyx_DECREF_SET(__pyx_t_9,
function);
2723 __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_t_10);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2724 __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
2726 __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_9);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2728 __Pyx_GOTREF(__pyx_t_7);
2729 __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
2730 __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_str);
if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2731 __Pyx_GOTREF(__pyx_t_9);
2732 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2734 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_9))) {
2735 __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_9);
2736 if (likely(__pyx_t_7)) {
2737 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_9);
2738 __Pyx_INCREF(__pyx_t_7);
2739 __Pyx_INCREF(
function);
2740 __Pyx_DECREF_SET(__pyx_t_9,
function);
2744 __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_t_7);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2745 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
2747 __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_9);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2749 __Pyx_GOTREF(__pyx_t_4);
2750 __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
2751 __pyx_t_9 = PyNumber_Add(__pyx_kp_s_At_least_the_following_keys_have, __pyx_t_4);
if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2752 __Pyx_GOTREF(__pyx_t_9);
2753 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2762 __pyx_t_4 = PyTuple_New(1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2763 __Pyx_GOTREF(__pyx_t_4);
2764 PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_9);
2765 __Pyx_GIVEREF(__pyx_t_9);
2767 __pyx_t_9 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL);
if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2768 __Pyx_GOTREF(__pyx_t_9);
2769 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2770 __Pyx_Raise(__pyx_t_9, 0, 0, 0);
2771 __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
2772 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2783 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2792 __Pyx_INCREF(__pyx_v_kwargs);
2793 __Pyx_GIVEREF(__pyx_v_kwargs);
2794 __Pyx_GOTREF(__pyx_v_self->_params);
2795 __Pyx_DECREF(__pyx_v_self->_params);
2796 __pyx_v_self->_params = __pyx_v_kwargs;
2805 __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_validateParams);
if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2806 __Pyx_GOTREF(__pyx_t_9);
2808 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_9))) {
2809 __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_9);
2810 if (likely(__pyx_t_4)) {
2811 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_9);
2812 __Pyx_INCREF(__pyx_t_4);
2813 __Pyx_INCREF(
function);
2814 __Pyx_DECREF_SET(__pyx_t_9,
function);
2818 __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_t_4);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2819 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
2821 __pyx_t_6 = __Pyx_PyObject_CallNoArg(__pyx_t_9);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2823 __Pyx_GOTREF(__pyx_t_6);
2824 __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
2825 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2837 __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple_, NULL);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2838 __Pyx_GOTREF(__pyx_t_6);
2839 __Pyx_Raise(__pyx_t_6, 0, 0, 0);
2840 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
2841 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2857 __Pyx_XDECREF(__pyx_t_4);
2858 __Pyx_XDECREF(__pyx_t_6);
2859 __Pyx_XDECREF(__pyx_t_7);
2860 __Pyx_XDECREF(__pyx_t_9);
2861 __Pyx_XDECREF(__pyx_t_10);
2862 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
2865 __Pyx_XDECREF(__pyx_v_k);
2866 __Pyx_RefNannyFinishContext();
2879 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_3isValid(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
2880 static char __pyx_doc_10espressomd_12interactions_20NonBondedInteraction_2isValid[] =
"Check, if the data stored in the instance still matches what is in Espresso";
2881 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_3isValid(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
2882 PyObject *__pyx_r = 0;
2883 __Pyx_RefNannyDeclarations
2884 __Pyx_RefNannySetupContext(
"isValid (wrapper)", 0);
2885 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_2isValid(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
2888 __Pyx_RefNannyFinishContext();
2892 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_2isValid(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
2893 PyObject *__pyx_v_tempParams = NULL;
2894 PyObject *__pyx_r = NULL;
2895 __Pyx_RefNannyDeclarations
2896 PyObject *__pyx_t_1 = NULL;
2897 PyObject *__pyx_t_2 = NULL;
2898 PyObject *__pyx_t_3 = NULL;
2900 int __pyx_lineno = 0;
2901 const char *__pyx_filename = NULL;
2902 int __pyx_clineno = 0;
2903 __Pyx_RefNannySetupContext(
"isValid", 0);
2912 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 66; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2913 __Pyx_GOTREF(__pyx_t_2);
2915 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
2916 __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
2917 if (likely(__pyx_t_3)) {
2918 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_2);
2919 __Pyx_INCREF(__pyx_t_3);
2920 __Pyx_INCREF(
function);
2921 __Pyx_DECREF_SET(__pyx_t_2,
function);
2925 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 66; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2926 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
2928 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 66; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2930 __Pyx_GOTREF(__pyx_t_1);
2931 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
2932 __pyx_v_tempParams = __pyx_t_1;
2942 __pyx_t_1 = PyObject_RichCompare(__pyx_v_self->_params, __pyx_v_tempParams, Py_NE); __Pyx_XGOTREF(__pyx_t_1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2943 __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1);
if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
2944 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2954 __Pyx_XDECREF(__pyx_r);
2955 __Pyx_INCREF(Py_False);
2967 __Pyx_XDECREF(__pyx_r);
2968 __Pyx_INCREF(Py_True);
2982 __Pyx_XDECREF(__pyx_t_1);
2983 __Pyx_XDECREF(__pyx_t_2);
2984 __Pyx_XDECREF(__pyx_t_3);
2985 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.isValid", __pyx_clineno, __pyx_lineno, __pyx_filename);
2988 __Pyx_XDECREF(__pyx_v_tempParams);
2989 __Pyx_XGIVEREF(__pyx_r);
2990 __Pyx_RefNannyFinishContext();
3003 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_5getParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
3004 static char __pyx_doc_10espressomd_12interactions_20NonBondedInteraction_4getParams[] =
"Get interaction parameters";
3005 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_5getParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3006 PyObject *__pyx_r = 0;
3007 __Pyx_RefNannyDeclarations
3008 __Pyx_RefNannySetupContext(
"getParams (wrapper)", 0);
3009 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_4getParams(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
3012 __Pyx_RefNannyFinishContext();
3016 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_4getParams(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
3017 PyObject *__pyx_r = NULL;
3018 __Pyx_RefNannyDeclarations
3020 PyObject *__pyx_t_2 = NULL;
3021 PyObject *__pyx_t_3 = NULL;
3023 PyObject *__pyx_t_5 = NULL;
3024 int __pyx_lineno = 0;
3025 const char *__pyx_filename = NULL;
3026 int __pyx_clineno = 0;
3027 __Pyx_RefNannySetupContext(
"getParams", 0);
3036 __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3037 __Pyx_GOTREF(__pyx_t_2);
3038 __pyx_t_3 = PyObject_RichCompare(__pyx_t_2, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3039 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3040 __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3041 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3044 __pyx_t_1 = __pyx_t_4;
3045 goto __pyx_L4_bool_binop_done;
3047 __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3048 __Pyx_GOTREF(__pyx_t_3);
3049 __pyx_t_2 = PyObject_RichCompare(__pyx_t_3, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3050 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3051 __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3052 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3053 __pyx_t_1 = __pyx_t_4;
3054 __pyx_L4_bool_binop_done:;
3064 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3065 __Pyx_GOTREF(__pyx_t_3);
3067 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
3068 __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
3069 if (likely(__pyx_t_5)) {
3070 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_3);
3071 __Pyx_INCREF(__pyx_t_5);
3072 __Pyx_INCREF(
function);
3073 __Pyx_DECREF_SET(__pyx_t_3,
function);
3077 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_5);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3078 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3080 __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_3);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3082 __Pyx_GOTREF(__pyx_t_2);
3083 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3084 __Pyx_GIVEREF(__pyx_t_2);
3085 __Pyx_GOTREF(__pyx_v_self->_params);
3086 __Pyx_DECREF(__pyx_v_self->_params);
3087 __pyx_v_self->_params = __pyx_t_2;
3100 __Pyx_XDECREF(__pyx_r);
3101 __Pyx_INCREF(__pyx_v_self->_params);
3102 __pyx_r = __pyx_v_self->_params;
3115 __Pyx_XDECREF(__pyx_t_2);
3116 __Pyx_XDECREF(__pyx_t_3);
3117 __Pyx_XDECREF(__pyx_t_5);
3118 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.getParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
3121 __Pyx_XGIVEREF(__pyx_r);
3122 __Pyx_RefNannyFinishContext();
3135 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_7setParams(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
3136 static char __pyx_doc_10espressomd_12interactions_20NonBondedInteraction_6setParams[] =
"Update parameters. Only given ";
3137 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_7setParams(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
3138 PyObject *__pyx_v_p = 0;
3139 PyObject *__pyx_r = 0;
3140 __Pyx_RefNannyDeclarations
3141 __Pyx_RefNannySetupContext(
"setParams (wrapper)", 0);
3142 if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
3143 __Pyx_RaiseArgtupleInvalid(
"setParams", 1, 0, 0, PyTuple_GET_SIZE(__pyx_args));
return NULL;}
3144 if (__pyx_kwds && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds,
"setParams", 1)))
return NULL;
3145 __pyx_v_p = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
3146 if (unlikely(!__pyx_v_p))
return NULL;
3147 __Pyx_GOTREF(__pyx_v_p);
3148 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_6setParams(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self), __pyx_v_p);
3151 __Pyx_XDECREF(__pyx_v_p);
3152 __Pyx_RefNannyFinishContext();
3156 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_6setParams(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self, PyObject *__pyx_v_p) {
3157 PyObject *__pyx_v_k = NULL;
3158 PyObject *__pyx_r = NULL;
3159 __Pyx_RefNannyDeclarations
3160 PyObject *__pyx_t_1 = NULL;
3161 PyObject *__pyx_t_2 = NULL;
3162 Py_ssize_t __pyx_t_3;
3163 PyObject *(*__pyx_t_4)(PyObject *);
3164 PyObject *__pyx_t_5 = NULL;
3165 PyObject *__pyx_t_6 = NULL;
3168 PyObject *__pyx_t_9 = NULL;
3169 int __pyx_lineno = 0;
3170 const char *__pyx_filename = NULL;
3171 int __pyx_clineno = 0;
3172 __Pyx_RefNannySetupContext(
"setParams", 0);
3181 __pyx_t_1 = __Pyx_PyDict_Keys(__pyx_v_p);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3182 __Pyx_GOTREF(__pyx_t_1);
3183 if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
3184 __pyx_t_2 = __pyx_t_1; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
3187 __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3188 __Pyx_GOTREF(__pyx_t_2);
3189 __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext;
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3191 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3193 if (likely(!__pyx_t_4)) {
3194 if (likely(PyList_CheckExact(__pyx_t_2))) {
3195 if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2))
break;
3196 #if CYTHON_COMPILING_IN_CPYTHON
3197 __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3199 __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++;
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3202 if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2))
break;
3203 #if CYTHON_COMPILING_IN_CPYTHON
3204 __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3206 __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++;
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3210 __pyx_t_1 = __pyx_t_4(__pyx_t_2);
3211 if (unlikely(!__pyx_t_1)) {
3212 PyObject* exc_type = PyErr_Occurred();
3214 if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
3215 else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3219 __Pyx_GOTREF(__pyx_t_1);
3221 __Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_1);
3231 __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_validKeys);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3232 __Pyx_GOTREF(__pyx_t_5);
3234 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
3235 __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5);
3236 if (likely(__pyx_t_6)) {
3237 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
3238 __Pyx_INCREF(__pyx_t_6);
3239 __Pyx_INCREF(
function);
3240 __Pyx_DECREF_SET(__pyx_t_5,
function);
3244 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3245 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3247 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_5);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3249 __Pyx_GOTREF(__pyx_t_1);
3250 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3251 __pyx_t_7 = (__Pyx_PySequence_Contains(__pyx_v_k, __pyx_t_1, Py_NE));
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3252 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3253 __pyx_t_8 = (__pyx_t_7 != 0);
3263 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_validKeys);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3264 __Pyx_GOTREF(__pyx_t_6);
3266 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
3267 __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_6);
3268 if (likely(__pyx_t_9)) {
3269 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
3270 __Pyx_INCREF(__pyx_t_9);
3271 __Pyx_INCREF(
function);
3272 __Pyx_DECREF_SET(__pyx_t_6,
function);
3276 __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_9);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3277 __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
3279 __pyx_t_5 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3281 __Pyx_GOTREF(__pyx_t_5);
3282 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3283 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_str);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3284 __Pyx_GOTREF(__pyx_t_6);
3285 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3287 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
3288 __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6);
3289 if (likely(__pyx_t_5)) {
3290 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
3291 __Pyx_INCREF(__pyx_t_5);
3292 __Pyx_INCREF(
function);
3293 __Pyx_DECREF_SET(__pyx_t_6,
function);
3297 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_5);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3298 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3300 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3302 __Pyx_GOTREF(__pyx_t_1);
3303 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3304 __pyx_t_6 = PyNumber_Add(__pyx_kp_s_Only_the_following_keys_are_supp, __pyx_t_1);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3305 __Pyx_GOTREF(__pyx_t_6);
3306 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3315 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3316 __Pyx_GOTREF(__pyx_t_1);
3317 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_6);
3318 __Pyx_GIVEREF(__pyx_t_6);
3320 __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3321 __Pyx_GOTREF(__pyx_t_6);
3322 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3323 __Pyx_Raise(__pyx_t_6, 0, 0, 0);
3324 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3325 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3336 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3345 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_isActive);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3346 __Pyx_GOTREF(__pyx_t_6);
3348 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
3349 __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_6);
3350 if (likely(__pyx_t_1)) {
3351 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
3352 __Pyx_INCREF(__pyx_t_1);
3353 __Pyx_INCREF(
function);
3354 __Pyx_DECREF_SET(__pyx_t_6,
function);
3358 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3359 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3361 __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3363 __Pyx_GOTREF(__pyx_t_2);
3364 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3365 __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_8 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 92; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3366 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3367 __pyx_t_7 = ((!__pyx_t_8) != 0);
3377 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_requiredKeys);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3378 __Pyx_GOTREF(__pyx_t_6);
3380 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
3381 __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_6);
3382 if (likely(__pyx_t_1)) {
3383 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
3384 __Pyx_INCREF(__pyx_t_1);
3385 __Pyx_INCREF(
function);
3386 __Pyx_DECREF_SET(__pyx_t_6,
function);
3390 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3391 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3393 __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3395 __Pyx_GOTREF(__pyx_t_2);
3396 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3397 if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) {
3398 __pyx_t_6 = __pyx_t_2; __Pyx_INCREF(__pyx_t_6); __pyx_t_3 = 0;
3401 __pyx_t_3 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_2);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3402 __Pyx_GOTREF(__pyx_t_6);
3403 __pyx_t_4 = Py_TYPE(__pyx_t_6)->tp_iternext;
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3405 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3407 if (likely(!__pyx_t_4)) {
3408 if (likely(PyList_CheckExact(__pyx_t_6))) {
3409 if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_6))
break;
3410 #if CYTHON_COMPILING_IN_CPYTHON
3411 __pyx_t_2 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_3); __Pyx_INCREF(__pyx_t_2); __pyx_t_3++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3413 __pyx_t_2 = PySequence_ITEM(__pyx_t_6, __pyx_t_3); __pyx_t_3++;
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3416 if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_6))
break;
3417 #if CYTHON_COMPILING_IN_CPYTHON
3418 __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_3); __Pyx_INCREF(__pyx_t_2); __pyx_t_3++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3420 __pyx_t_2 = PySequence_ITEM(__pyx_t_6, __pyx_t_3); __pyx_t_3++;
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3424 __pyx_t_2 = __pyx_t_4(__pyx_t_6);
3425 if (unlikely(!__pyx_t_2)) {
3426 PyObject* exc_type = PyErr_Occurred();
3428 if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
3429 else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3433 __Pyx_GOTREF(__pyx_t_2);
3435 __Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_2);
3445 __pyx_t_7 = (__Pyx_PyDict_Contains(__pyx_v_k, __pyx_v_p, Py_NE));
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3446 __pyx_t_8 = (__pyx_t_7 != 0);
3456 __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_requiredKeys);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3457 __Pyx_GOTREF(__pyx_t_5);
3459 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
3460 __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_5);
3461 if (likely(__pyx_t_9)) {
3462 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
3463 __Pyx_INCREF(__pyx_t_9);
3464 __Pyx_INCREF(
function);
3465 __Pyx_DECREF_SET(__pyx_t_5,
function);
3469 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_9);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3470 __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
3472 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_5);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3474 __Pyx_GOTREF(__pyx_t_1);
3475 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3476 __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_str);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3477 __Pyx_GOTREF(__pyx_t_5);
3478 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3480 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
3481 __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_5);
3482 if (likely(__pyx_t_1)) {
3483 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
3484 __Pyx_INCREF(__pyx_t_1);
3485 __Pyx_INCREF(
function);
3486 __Pyx_DECREF_SET(__pyx_t_5,
function);
3490 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3491 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3493 __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_5);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3495 __Pyx_GOTREF(__pyx_t_2);
3496 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3497 __pyx_t_5 = PyNumber_Add(__pyx_kp_s_At_least_the_following_keys_have, __pyx_t_2);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3498 __Pyx_GOTREF(__pyx_t_5);
3499 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3508 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3509 __Pyx_GOTREF(__pyx_t_2);
3510 PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5);
3511 __Pyx_GIVEREF(__pyx_t_5);
3513 __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_2, NULL);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3514 __Pyx_GOTREF(__pyx_t_5);
3515 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3516 __Pyx_Raise(__pyx_t_5, 0, 0, 0);
3517 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3518 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3529 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3541 __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_6 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3542 __Pyx_GOTREF(__pyx_t_6);
3543 __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_5);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3544 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3545 __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5);
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3546 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3549 __pyx_t_8 = __pyx_t_7;
3550 goto __pyx_L11_bool_binop_done;
3552 __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3553 __Pyx_GOTREF(__pyx_t_5);
3554 __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_6);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3555 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3556 __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6);
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3557 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3558 __pyx_t_8 = __pyx_t_7;
3559 __pyx_L11_bool_binop_done:;
3569 __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3570 __Pyx_GOTREF(__pyx_t_5);
3572 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
3573 __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
3574 if (likely(__pyx_t_2)) {
3575 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
3576 __Pyx_INCREF(__pyx_t_2);
3577 __Pyx_INCREF(
function);
3578 __Pyx_DECREF_SET(__pyx_t_5,
function);
3582 __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_2);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3583 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3585 __pyx_t_6 = __Pyx_PyObject_CallNoArg(__pyx_t_5);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3587 __Pyx_GOTREF(__pyx_t_6);
3588 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3589 __Pyx_GIVEREF(__pyx_t_6);
3590 __Pyx_GOTREF(__pyx_v_self->_params);
3591 __Pyx_DECREF(__pyx_v_self->_params);
3592 __pyx_v_self->_params = __pyx_t_6;
3605 __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_params, __pyx_n_s_update);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3606 __Pyx_GOTREF(__pyx_t_5);
3608 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
3609 __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5);
3610 if (likely(__pyx_t_2)) {
3611 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
3612 __Pyx_INCREF(__pyx_t_2);
3613 __Pyx_INCREF(
function);
3614 __Pyx_DECREF_SET(__pyx_t_5,
function);
3618 __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_v_p);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3619 __Pyx_GOTREF(__pyx_t_6);
3621 __pyx_t_1 = PyTuple_New(1+1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3622 __Pyx_GOTREF(__pyx_t_1);
3623 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2); __Pyx_GIVEREF(__pyx_t_2); __pyx_t_2 = NULL;
3624 __Pyx_INCREF(__pyx_v_p);
3625 PyTuple_SET_ITEM(__pyx_t_1, 0+1, __pyx_v_p);
3626 __Pyx_GIVEREF(__pyx_v_p);
3627 __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3628 __Pyx_GOTREF(__pyx_t_6);
3629 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3631 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3632 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3641 __pyx_t_6 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_6 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3642 __Pyx_GOTREF(__pyx_t_6);
3643 __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_5);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3644 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3645 __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5);
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3646 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3649 __pyx_t_8 = __pyx_t_7;
3650 goto __pyx_L14_bool_binop_done;
3652 __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3653 __Pyx_GOTREF(__pyx_t_5);
3654 __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_6);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3655 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3656 __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6);
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3657 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3658 __pyx_t_8 = __pyx_t_7;
3659 __pyx_L14_bool_binop_done:;
3669 __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_setParamsInEsCore);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3670 __Pyx_GOTREF(__pyx_t_5);
3672 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
3673 __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_5);
3674 if (likely(__pyx_t_1)) {
3675 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
3676 __Pyx_INCREF(__pyx_t_1);
3677 __Pyx_INCREF(
function);
3678 __Pyx_DECREF_SET(__pyx_t_5,
function);
3682 __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_1);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3683 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3685 __pyx_t_6 = __Pyx_PyObject_CallNoArg(__pyx_t_5);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3687 __Pyx_GOTREF(__pyx_t_6);
3688 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
3689 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
3703 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3706 __Pyx_XDECREF(__pyx_t_1);
3707 __Pyx_XDECREF(__pyx_t_2);
3708 __Pyx_XDECREF(__pyx_t_5);
3709 __Pyx_XDECREF(__pyx_t_6);
3710 __Pyx_XDECREF(__pyx_t_9);
3711 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.setParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
3714 __Pyx_XDECREF(__pyx_v_k);
3715 __Pyx_XGIVEREF(__pyx_r);
3716 __Pyx_RefNannyFinishContext();
3729 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_9validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
3730 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_9validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3731 PyObject *__pyx_r = 0;
3732 __Pyx_RefNannyDeclarations
3733 __Pyx_RefNannySetupContext(
"validateParams (wrapper)", 0);
3734 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_8validateParams(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
3737 __Pyx_RefNannyFinishContext();
3741 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_8validateParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
3742 PyObject *__pyx_r = NULL;
3743 __Pyx_RefNannyDeclarations
3744 __Pyx_RefNannySetupContext(
"validateParams", 0);
3753 __Pyx_XDECREF(__pyx_r);
3754 __Pyx_INCREF(Py_True);
3768 __Pyx_XGIVEREF(__pyx_r);
3769 __Pyx_RefNannyFinishContext();
3782 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_11_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
3783 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_11_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3784 PyObject *__pyx_r = 0;
3785 __Pyx_RefNannyDeclarations
3786 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
3787 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_getParamsFromEsCore(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
3790 __Pyx_RefNannyFinishContext();
3794 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_getParamsFromEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
3795 PyObject *__pyx_r = NULL;
3796 __Pyx_RefNannyDeclarations
3797 PyObject *__pyx_t_1 = NULL;
3798 int __pyx_lineno = 0;
3799 const char *__pyx_filename = NULL;
3800 int __pyx_clineno = 0;
3801 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
3810 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__2, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3811 __Pyx_GOTREF(__pyx_t_1);
3812 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3813 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3814 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3826 __Pyx_XDECREF(__pyx_t_1);
3827 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
3829 __Pyx_XGIVEREF(__pyx_r);
3830 __Pyx_RefNannyFinishContext();
3843 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_13_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
3844 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_13_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3845 PyObject *__pyx_r = 0;
3846 __Pyx_RefNannyDeclarations
3847 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
3848 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_12_setParamsInEsCore(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
3851 __Pyx_RefNannyFinishContext();
3855 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_12_setParamsInEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
3856 PyObject *__pyx_r = NULL;
3857 __Pyx_RefNannyDeclarations
3858 PyObject *__pyx_t_1 = NULL;
3859 int __pyx_lineno = 0;
3860 const char *__pyx_filename = NULL;
3861 int __pyx_clineno = 0;
3862 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
3871 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__3, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3872 __Pyx_GOTREF(__pyx_t_1);
3873 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3874 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3875 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3887 __Pyx_XDECREF(__pyx_t_1);
3888 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
3890 __Pyx_XGIVEREF(__pyx_r);
3891 __Pyx_RefNannyFinishContext();
3904 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_15defaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
3905 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_15defaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3906 PyObject *__pyx_r = 0;
3907 __Pyx_RefNannyDeclarations
3908 __Pyx_RefNannySetupContext(
"defaultParams (wrapper)", 0);
3909 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_14defaultParams(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
3912 __Pyx_RefNannyFinishContext();
3916 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_14defaultParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
3917 PyObject *__pyx_r = NULL;
3918 __Pyx_RefNannyDeclarations
3919 PyObject *__pyx_t_1 = NULL;
3920 int __pyx_lineno = 0;
3921 const char *__pyx_filename = NULL;
3922 int __pyx_clineno = 0;
3923 __Pyx_RefNannySetupContext(
"defaultParams", 0);
3932 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__4, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3933 __Pyx_GOTREF(__pyx_t_1);
3934 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3935 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3936 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
3948 __Pyx_XDECREF(__pyx_t_1);
3949 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.defaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
3951 __Pyx_XGIVEREF(__pyx_r);
3952 __Pyx_RefNannyFinishContext();
3965 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_17isActive(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
3966 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_17isActive(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
3967 PyObject *__pyx_r = 0;
3968 __Pyx_RefNannyDeclarations
3969 __Pyx_RefNannySetupContext(
"isActive (wrapper)", 0);
3970 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_16isActive(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
3973 __Pyx_RefNannyFinishContext();
3977 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_16isActive(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
3978 PyObject *__pyx_r = NULL;
3979 __Pyx_RefNannyDeclarations
3981 PyObject *__pyx_t_2 = NULL;
3982 PyObject *__pyx_t_3 = NULL;
3984 PyObject *__pyx_t_5 = NULL;
3985 int __pyx_lineno = 0;
3986 const char *__pyx_filename = NULL;
3987 int __pyx_clineno = 0;
3988 __Pyx_RefNannySetupContext(
"isActive", 0);
3997 __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
3998 __Pyx_GOTREF(__pyx_t_2);
3999 __pyx_t_3 = PyObject_RichCompare(__pyx_t_2, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4000 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4001 __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4002 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4005 __pyx_t_1 = __pyx_t_4;
4006 goto __pyx_L4_bool_binop_done;
4008 __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_self->_partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4009 __Pyx_GOTREF(__pyx_t_3);
4010 __pyx_t_2 = PyObject_RichCompare(__pyx_t_3, __pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4011 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4012 __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4013 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4014 __pyx_t_1 = __pyx_t_4;
4015 __pyx_L4_bool_binop_done:;
4025 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4026 __Pyx_GOTREF(__pyx_t_3);
4028 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
4029 __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
4030 if (likely(__pyx_t_5)) {
4031 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_3);
4032 __Pyx_INCREF(__pyx_t_5);
4033 __Pyx_INCREF(
function);
4034 __Pyx_DECREF_SET(__pyx_t_3,
function);
4038 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_5);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4039 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4041 __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_3);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4043 __Pyx_GOTREF(__pyx_t_2);
4044 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4045 __Pyx_GIVEREF(__pyx_t_2);
4046 __Pyx_GOTREF(__pyx_v_self->_params);
4047 __Pyx_DECREF(__pyx_v_self->_params);
4048 __pyx_v_self->_params = __pyx_t_2;
4061 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__5, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4062 __Pyx_GOTREF(__pyx_t_2);
4063 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
4064 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4065 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4077 __Pyx_XDECREF(__pyx_t_2);
4078 __Pyx_XDECREF(__pyx_t_3);
4079 __Pyx_XDECREF(__pyx_t_5);
4080 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.isActive", __pyx_clineno, __pyx_lineno, __pyx_filename);
4082 __Pyx_XGIVEREF(__pyx_r);
4083 __Pyx_RefNannyFinishContext();
4096 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_19typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4097 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_19typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4098 PyObject *__pyx_r = 0;
4099 __Pyx_RefNannyDeclarations
4100 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
4101 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_18typeName(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
4104 __Pyx_RefNannyFinishContext();
4108 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_18typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
4109 PyObject *__pyx_r = NULL;
4110 __Pyx_RefNannyDeclarations
4111 PyObject *__pyx_t_1 = NULL;
4112 int __pyx_lineno = 0;
4113 const char *__pyx_filename = NULL;
4114 int __pyx_clineno = 0;
4115 __Pyx_RefNannySetupContext(
"typeName", 0);
4124 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__6, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4125 __Pyx_GOTREF(__pyx_t_1);
4126 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
4127 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4128 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4140 __Pyx_XDECREF(__pyx_t_1);
4141 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.typeName", __pyx_clineno, __pyx_lineno, __pyx_filename);
4143 __Pyx_XGIVEREF(__pyx_r);
4144 __Pyx_RefNannyFinishContext();
4157 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_21validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4158 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_21validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4159 PyObject *__pyx_r = 0;
4160 __Pyx_RefNannyDeclarations
4161 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
4162 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_20validKeys(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
4165 __Pyx_RefNannyFinishContext();
4169 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_20validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
4170 PyObject *__pyx_r = NULL;
4171 __Pyx_RefNannyDeclarations
4172 PyObject *__pyx_t_1 = NULL;
4173 int __pyx_lineno = 0;
4174 const char *__pyx_filename = NULL;
4175 int __pyx_clineno = 0;
4176 __Pyx_RefNannySetupContext(
"validKeys", 0);
4185 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__7, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4186 __Pyx_GOTREF(__pyx_t_1);
4187 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
4188 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4189 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4201 __Pyx_XDECREF(__pyx_t_1);
4202 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.validKeys", __pyx_clineno, __pyx_lineno, __pyx_filename);
4204 __Pyx_XGIVEREF(__pyx_r);
4205 __Pyx_RefNannyFinishContext();
4218 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_23requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4219 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_23requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4220 PyObject *__pyx_r = 0;
4221 __Pyx_RefNannyDeclarations
4222 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
4223 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_22requiredKeys(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
4226 __Pyx_RefNannyFinishContext();
4230 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_22requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
4231 PyObject *__pyx_r = NULL;
4232 __Pyx_RefNannyDeclarations
4233 PyObject *__pyx_t_1 = NULL;
4234 int __pyx_lineno = 0;
4235 const char *__pyx_filename = NULL;
4236 int __pyx_clineno = 0;
4237 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
4246 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__8, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4247 __Pyx_GOTREF(__pyx_t_1);
4248 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
4249 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4250 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4262 __Pyx_XDECREF(__pyx_t_1);
4263 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteraction.requiredKeys", __pyx_clineno, __pyx_lineno, __pyx_filename);
4265 __Pyx_XGIVEREF(__pyx_r);
4266 __Pyx_RefNannyFinishContext();
4279 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_1__get__(PyObject *__pyx_v_self);
4280 static PyObject *__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_1__get__(PyObject *__pyx_v_self) {
4281 PyObject *__pyx_r = 0;
4282 __Pyx_RefNannyDeclarations
4283 __Pyx_RefNannySetupContext(
"__get__ (wrapper)", 0);
4284 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes___get__(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
4287 __Pyx_RefNannyFinishContext();
4291 static PyObject *__pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes___get__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
4292 PyObject *__pyx_r = NULL;
4293 __Pyx_RefNannyDeclarations
4294 __Pyx_RefNannySetupContext(
"__get__", 0);
4295 __Pyx_XDECREF(__pyx_r);
4296 __Pyx_INCREF(__pyx_v_self->_partTypes);
4297 __pyx_r = __pyx_v_self->_partTypes;
4302 __Pyx_XGIVEREF(__pyx_r);
4303 __Pyx_RefNannyFinishContext();
4308 static int __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value);
4309 static int __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
4311 __Pyx_RefNannyDeclarations
4312 __Pyx_RefNannySetupContext(
"__set__ (wrapper)", 0);
4313 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_2__set__(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self), ((PyObject *)__pyx_v_value));
4316 __Pyx_RefNannyFinishContext();
4320 static int __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_2__set__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self, PyObject *__pyx_v_value) {
4322 __Pyx_RefNannyDeclarations
4323 __Pyx_RefNannySetupContext(
"__set__", 0);
4324 __Pyx_INCREF(__pyx_v_value);
4325 __Pyx_GIVEREF(__pyx_v_value);
4326 __Pyx_GOTREF(__pyx_v_self->_partTypes);
4327 __Pyx_DECREF(__pyx_v_self->_partTypes);
4328 __pyx_v_self->_partTypes = __pyx_v_value;
4332 __Pyx_RefNannyFinishContext();
4337 static int __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_5__del__(PyObject *__pyx_v_self);
4338 static int __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_5__del__(PyObject *__pyx_v_self) {
4340 __Pyx_RefNannyDeclarations
4341 __Pyx_RefNannySetupContext(
"__del__ (wrapper)", 0);
4342 __pyx_r = __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_4__del__(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)__pyx_v_self));
4345 __Pyx_RefNannyFinishContext();
4349 static int __pyx_pf_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_4__del__(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *__pyx_v_self) {
4351 __Pyx_RefNannyDeclarations
4352 __Pyx_RefNannySetupContext(
"__del__", 0);
4353 __Pyx_INCREF(Py_None);
4354 __Pyx_GIVEREF(Py_None);
4355 __Pyx_GOTREF(__pyx_v_self->_partTypes);
4356 __Pyx_DECREF(__pyx_v_self->_partTypes);
4357 __pyx_v_self->_partTypes = Py_None;
4361 __Pyx_RefNannyFinishContext();
4374 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_1validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4375 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_1validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4376 PyObject *__pyx_r = 0;
4377 __Pyx_RefNannyDeclarations
4378 __Pyx_RefNannySetupContext(
"validateParams (wrapper)", 0);
4379 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_validateParams(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
4382 __Pyx_RefNannyFinishContext();
4386 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_validateParams(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
4387 PyObject *__pyx_r = NULL;
4388 __Pyx_RefNannyDeclarations
4389 PyObject *__pyx_t_1 = NULL;
4390 PyObject *__pyx_t_2 = NULL;
4392 int __pyx_lineno = 0;
4393 const char *__pyx_filename = NULL;
4394 int __pyx_clineno = 0;
4395 __Pyx_RefNannySetupContext(
"validateParams", 0);
4404 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_epsilon);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4405 __Pyx_GOTREF(__pyx_t_1);
4406 __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4407 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4408 __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4409 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4419 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__9, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4420 __Pyx_GOTREF(__pyx_t_2);
4421 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
4422 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4423 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4433 __pyx_t_2 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4434 __Pyx_GOTREF(__pyx_t_2);
4435 __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4436 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4437 __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1);
if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 152; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4438 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4448 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__10, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4449 __Pyx_GOTREF(__pyx_t_1);
4450 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
4451 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4452 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4462 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4463 __Pyx_GOTREF(__pyx_t_1);
4464 __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4465 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4466 __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 154; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4467 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4477 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__11, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4478 __Pyx_GOTREF(__pyx_t_2);
4479 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
4480 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4481 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4491 __Pyx_XDECREF(__pyx_r);
4492 __Pyx_INCREF(Py_True);
4506 __Pyx_XDECREF(__pyx_t_1);
4507 __Pyx_XDECREF(__pyx_t_2);
4508 __Pyx_AddTraceback(
"espressomd.interactions.LennardJonesInteraction.validateParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
4511 __Pyx_XGIVEREF(__pyx_r);
4512 __Pyx_RefNannyFinishContext();
4525 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_3_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4526 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_3_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4527 PyObject *__pyx_r = 0;
4528 __Pyx_RefNannyDeclarations
4529 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
4530 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_2_getParamsFromEsCore(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
4533 __Pyx_RefNannyFinishContext();
4537 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_2_getParamsFromEsCore(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
4539 PyObject *__pyx_r = NULL;
4540 __Pyx_RefNannyDeclarations
4541 PyObject *__pyx_t_1 = NULL;
4544 PyObject *__pyx_t_4 = NULL;
4545 int __pyx_lineno = 0;
4546 const char *__pyx_filename = NULL;
4547 int __pyx_clineno = 0;
4548 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
4557 __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4558 __Pyx_GOTREF(__pyx_t_1);
4559 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4560 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4561 __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4562 __Pyx_GOTREF(__pyx_t_1);
4563 __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_3 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4564 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4574 __Pyx_XDECREF(__pyx_r);
4575 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4576 __Pyx_GOTREF(__pyx_t_1);
4585 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJ_eps);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4586 __Pyx_GOTREF(__pyx_t_4);
4587 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_epsilon, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4588 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4597 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJ_sig);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4598 __Pyx_GOTREF(__pyx_t_4);
4599 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_sigma, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4600 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4609 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJ_cut);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4610 __Pyx_GOTREF(__pyx_t_4);
4611 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_cutoff, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4612 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4621 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJ_shift);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4622 __Pyx_GOTREF(__pyx_t_4);
4623 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_shift, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4624 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4633 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJ_offset);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4634 __Pyx_GOTREF(__pyx_t_4);
4635 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_offset, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4636 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4645 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJ_min);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4646 __Pyx_GOTREF(__pyx_t_4);
4647 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_min, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 161; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4648 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4649 __pyx_r = __pyx_t_1;
4663 __Pyx_XDECREF(__pyx_t_1);
4664 __Pyx_XDECREF(__pyx_t_4);
4665 __Pyx_AddTraceback(
"espressomd.interactions.LennardJonesInteraction._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
4668 __Pyx_XGIVEREF(__pyx_r);
4669 __Pyx_RefNannyFinishContext();
4682 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_5isActive(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4683 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_5isActive(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4684 PyObject *__pyx_r = 0;
4685 __Pyx_RefNannyDeclarations
4686 __Pyx_RefNannySetupContext(
"isActive (wrapper)", 0);
4687 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_4isActive(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
4690 __Pyx_RefNannyFinishContext();
4694 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_4isActive(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
4695 PyObject *__pyx_r = NULL;
4696 __Pyx_RefNannyDeclarations
4697 PyObject *__pyx_t_1 = NULL;
4698 PyObject *__pyx_t_2 = NULL;
4699 int __pyx_lineno = 0;
4700 const char *__pyx_filename = NULL;
4701 int __pyx_clineno = 0;
4702 __Pyx_RefNannySetupContext(
"isActive", 0);
4711 __Pyx_XDECREF(__pyx_r);
4712 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_epsilon);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4713 __Pyx_GOTREF(__pyx_t_1);
4714 __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_int_0, Py_GT); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 170; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4715 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4716 __pyx_r = __pyx_t_2;
4730 __Pyx_XDECREF(__pyx_t_1);
4731 __Pyx_XDECREF(__pyx_t_2);
4732 __Pyx_AddTraceback(
"espressomd.interactions.LennardJonesInteraction.isActive", __pyx_clineno, __pyx_lineno, __pyx_filename);
4735 __Pyx_XGIVEREF(__pyx_r);
4736 __Pyx_RefNannyFinishContext();
4749 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_7_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4750 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_7_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
4751 PyObject *__pyx_r = 0;
4752 __Pyx_RefNannyDeclarations
4753 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
4754 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_6_setParamsInEsCore(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
4757 __Pyx_RefNannyFinishContext();
4761 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_6_setParamsInEsCore(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
4762 PyObject *__pyx_r = NULL;
4763 __Pyx_RefNannyDeclarations
4764 PyObject *__pyx_t_1 = NULL;
4766 PyObject *__pyx_t_3 = NULL;
4767 PyObject *__pyx_t_4 = NULL;
4768 PyObject *__pyx_t_5 = NULL;
4777 int __pyx_lineno = 0;
4778 const char *__pyx_filename = NULL;
4779 int __pyx_clineno = 0;
4780 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
4789 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_shift);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4790 __Pyx_GOTREF(__pyx_t_1);
4791 __pyx_t_2 = (__Pyx_PyString_Equals(__pyx_t_1, __pyx_n_s_auto, Py_EQ));
if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4792 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4802 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4803 __Pyx_GOTREF(__pyx_t_1);
4804 __pyx_t_3 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4805 __Pyx_GOTREF(__pyx_t_3);
4806 __pyx_t_4 = __Pyx_PyNumber_Divide(__pyx_t_1, __pyx_t_3);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4807 __Pyx_GOTREF(__pyx_t_4);
4808 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4809 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4810 __pyx_t_3 = PyNumber_Power(__pyx_t_4, __pyx_int_12, Py_None);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4811 __Pyx_GOTREF(__pyx_t_3);
4812 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4821 __pyx_t_4 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4822 __Pyx_GOTREF(__pyx_t_4);
4823 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4824 __Pyx_GOTREF(__pyx_t_1);
4825 __pyx_t_5 = __Pyx_PyNumber_Divide(__pyx_t_4, __pyx_t_1);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4826 __Pyx_GOTREF(__pyx_t_5);
4827 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
4828 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4829 __pyx_t_1 = PyNumber_Power(__pyx_t_5, __pyx_int_6, Py_None);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4830 __Pyx_GOTREF(__pyx_t_1);
4831 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4840 __pyx_t_5 = PyNumber_Subtract(__pyx_t_3, __pyx_t_1);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4841 __Pyx_GOTREF(__pyx_t_5);
4842 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4843 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4844 __pyx_t_1 = PyNumber_Negative(__pyx_t_5);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4845 __Pyx_GOTREF(__pyx_t_1);
4846 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
4847 if (unlikely(PyObject_SetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_shift, __pyx_t_1) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4848 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4860 __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4861 __Pyx_GOTREF(__pyx_t_1);
4862 __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_6 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4863 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4864 __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4865 __Pyx_GOTREF(__pyx_t_1);
4866 __pyx_t_7 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_7 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4867 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4876 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_epsilon);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4877 __Pyx_GOTREF(__pyx_t_1);
4878 __pyx_t_8 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_8 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4879 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4888 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4889 __Pyx_GOTREF(__pyx_t_1);
4890 __pyx_t_9 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_9 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4891 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4900 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4901 __Pyx_GOTREF(__pyx_t_1);
4902 __pyx_t_10 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_10 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 182; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4903 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4912 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_shift);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4913 __Pyx_GOTREF(__pyx_t_1);
4914 __pyx_t_11 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_11 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4915 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4924 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_offset);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 184; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4925 __Pyx_GOTREF(__pyx_t_1);
4926 __pyx_t_12 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_12 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 184; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4927 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4936 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_min);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
4937 __Pyx_GOTREF(__pyx_t_1);
4938 __pyx_t_13 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_13 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4939 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4948 __pyx_t_2 = (
lennard_jones_set_params(__pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, __pyx_t_11, __pyx_t_12, 0.0, __pyx_t_13) != 0);
4958 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__12, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4959 __Pyx_GOTREF(__pyx_t_1);
4960 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
4961 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4962 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
4974 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4977 __Pyx_XDECREF(__pyx_t_1);
4978 __Pyx_XDECREF(__pyx_t_3);
4979 __Pyx_XDECREF(__pyx_t_4);
4980 __Pyx_XDECREF(__pyx_t_5);
4981 __Pyx_AddTraceback(
"espressomd.interactions.LennardJonesInteraction._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
4984 __Pyx_XGIVEREF(__pyx_r);
4985 __Pyx_RefNannyFinishContext();
4998 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_9defaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
4999 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_9defaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5000 PyObject *__pyx_r = 0;
5001 __Pyx_RefNannyDeclarations
5002 __Pyx_RefNannySetupContext(
"defaultParams (wrapper)", 0);
5003 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_8defaultParams(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
5006 __Pyx_RefNannyFinishContext();
5010 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_8defaultParams(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
5011 PyObject *__pyx_r = NULL;
5012 __Pyx_RefNannyDeclarations
5013 PyObject *__pyx_t_1 = NULL;
5014 int __pyx_lineno = 0;
5015 const char *__pyx_filename = NULL;
5016 int __pyx_clineno = 0;
5017 __Pyx_RefNannySetupContext(
"defaultParams", 0);
5026 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5027 __Pyx_GOTREF(__pyx_t_1);
5028 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_epsilon, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5029 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_sigma, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5030 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_cutoff, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5031 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_shift, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5032 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_offset, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5033 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_min, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5034 __Pyx_GIVEREF(__pyx_t_1);
5035 __Pyx_GOTREF(__pyx_v_self->__pyx_base._params);
5036 __Pyx_DECREF(__pyx_v_self->__pyx_base._params);
5037 __pyx_v_self->__pyx_base._params = __pyx_t_1;
5049 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5052 __Pyx_XDECREF(__pyx_t_1);
5053 __Pyx_AddTraceback(
"espressomd.interactions.LennardJonesInteraction.defaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
5056 __Pyx_XGIVEREF(__pyx_r);
5057 __Pyx_RefNannyFinishContext();
5070 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_11typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5071 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_11typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5072 PyObject *__pyx_r = 0;
5073 __Pyx_RefNannyDeclarations
5074 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
5075 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_10typeName(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
5078 __Pyx_RefNannyFinishContext();
5082 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_10typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
5083 PyObject *__pyx_r = NULL;
5084 __Pyx_RefNannyDeclarations
5085 __Pyx_RefNannySetupContext(
"typeName", 0);
5094 __Pyx_XDECREF(__pyx_r);
5095 __Pyx_INCREF(__pyx_n_s_LennardJones);
5096 __pyx_r = __pyx_n_s_LennardJones;
5109 __Pyx_XGIVEREF(__pyx_r);
5110 __Pyx_RefNannyFinishContext();
5123 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_13validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5124 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_13validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5125 PyObject *__pyx_r = 0;
5126 __Pyx_RefNannyDeclarations
5127 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
5128 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_12validKeys(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
5131 __Pyx_RefNannyFinishContext();
5135 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_12validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
5136 PyObject *__pyx_r = NULL;
5137 __Pyx_RefNannyDeclarations
5138 __Pyx_RefNannySetupContext(
"validKeys", 0);
5147 __Pyx_XDECREF(__pyx_r);
5148 __Pyx_INCREF(__pyx_tuple__13);
5149 __pyx_r = __pyx_tuple__13;
5162 __Pyx_XGIVEREF(__pyx_r);
5163 __Pyx_RefNannyFinishContext();
5176 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_15requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5177 static PyObject *__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_15requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5178 PyObject *__pyx_r = 0;
5179 __Pyx_RefNannyDeclarations
5180 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
5181 __pyx_r = __pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_14requiredKeys(((
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *)__pyx_v_self));
5184 __Pyx_RefNannyFinishContext();
5188 static PyObject *__pyx_pf_10espressomd_12interactions_23LennardJonesInteraction_14requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction *__pyx_v_self) {
5189 PyObject *__pyx_r = NULL;
5190 __Pyx_RefNannyDeclarations
5191 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
5200 __Pyx_XDECREF(__pyx_r);
5201 __Pyx_INCREF(__pyx_tuple__14);
5202 __pyx_r = __pyx_tuple__14;
5215 __Pyx_XGIVEREF(__pyx_r);
5216 __Pyx_RefNannyFinishContext();
5229 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_1validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5230 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_1validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5231 PyObject *__pyx_r = 0;
5232 __Pyx_RefNannyDeclarations
5233 __Pyx_RefNannySetupContext(
"validateParams (wrapper)", 0);
5234 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_validateParams(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
5237 __Pyx_RefNannyFinishContext();
5241 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_validateParams(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
5242 PyObject *__pyx_r = NULL;
5243 __Pyx_RefNannyDeclarations
5244 PyObject *__pyx_t_1 = NULL;
5245 PyObject *__pyx_t_2 = NULL;
5247 int __pyx_lineno = 0;
5248 const char *__pyx_filename = NULL;
5249 int __pyx_clineno = 0;
5250 __Pyx_RefNannySetupContext(
"validateParams", 0);
5259 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_epsilon);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5260 __Pyx_GOTREF(__pyx_t_1);
5261 __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5262 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5263 __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5264 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5274 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__15, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5275 __Pyx_GOTREF(__pyx_t_2);
5276 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
5277 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5278 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5288 __pyx_t_2 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_2 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 214; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5289 __Pyx_GOTREF(__pyx_t_2);
5290 __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 214; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5291 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5292 __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1);
if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 214; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5293 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5303 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__16, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5304 __Pyx_GOTREF(__pyx_t_1);
5305 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
5306 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5307 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5317 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5318 __Pyx_GOTREF(__pyx_t_1);
5319 __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5320 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5321 __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2);
if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5322 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5332 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__17, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5333 __Pyx_GOTREF(__pyx_t_2);
5334 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
5335 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5336 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5346 __Pyx_XDECREF(__pyx_r);
5347 __Pyx_INCREF(Py_True);
5361 __Pyx_XDECREF(__pyx_t_1);
5362 __Pyx_XDECREF(__pyx_t_2);
5363 __Pyx_AddTraceback(
"espressomd.interactions.GenericLennardJonesInteraction.validateParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
5366 __Pyx_XGIVEREF(__pyx_r);
5367 __Pyx_RefNannyFinishContext();
5380 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_3_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5381 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_3_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5382 PyObject *__pyx_r = 0;
5383 __Pyx_RefNannyDeclarations
5384 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
5385 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_2_getParamsFromEsCore(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
5388 __Pyx_RefNannyFinishContext();
5392 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_2_getParamsFromEsCore(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
5394 PyObject *__pyx_r = NULL;
5395 __Pyx_RefNannyDeclarations
5396 PyObject *__pyx_t_1 = NULL;
5399 PyObject *__pyx_t_4 = NULL;
5400 int __pyx_lineno = 0;
5401 const char *__pyx_filename = NULL;
5402 int __pyx_clineno = 0;
5403 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
5412 __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5413 __Pyx_GOTREF(__pyx_t_1);
5414 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5415 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5416 __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5417 __Pyx_GOTREF(__pyx_t_1);
5418 __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_3 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5419 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5429 __Pyx_XDECREF(__pyx_r);
5430 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5431 __Pyx_GOTREF(__pyx_t_1);
5440 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_eps);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5441 __Pyx_GOTREF(__pyx_t_4);
5442 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_epsilon, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5443 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5452 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_sig);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 225; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5453 __Pyx_GOTREF(__pyx_t_4);
5454 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_sigma, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5455 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5464 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_cut);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5465 __Pyx_GOTREF(__pyx_t_4);
5466 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_cutoff, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5467 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5476 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_shift);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5477 __Pyx_GOTREF(__pyx_t_4);
5478 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_shift, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5479 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5488 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_offset);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 228; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5489 __Pyx_GOTREF(__pyx_t_4);
5490 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_offset, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5491 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5500 __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_iaParams->
LJGEN_a1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5501 __Pyx_GOTREF(__pyx_t_4);
5502 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_e1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5503 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5512 __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_iaParams->
LJGEN_a2);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5513 __Pyx_GOTREF(__pyx_t_4);
5514 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_e2, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5515 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5524 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_b1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 231; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5525 __Pyx_GOTREF(__pyx_t_4);
5526 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_b1, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5527 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5536 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_b2);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5537 __Pyx_GOTREF(__pyx_t_4);
5538 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_b2, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5539 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5548 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_lambda);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 233; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5549 __Pyx_GOTREF(__pyx_t_4);
5550 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_lambda, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5551 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5560 __pyx_t_4 = PyFloat_FromDouble(__pyx_v_iaParams->
LJGEN_softrad);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 234; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5561 __Pyx_GOTREF(__pyx_t_4);
5562 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_delta, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5563 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5564 __pyx_r = __pyx_t_1;
5578 __Pyx_XDECREF(__pyx_t_1);
5579 __Pyx_XDECREF(__pyx_t_4);
5580 __Pyx_AddTraceback(
"espressomd.interactions.GenericLennardJonesInteraction._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
5583 __Pyx_XGIVEREF(__pyx_r);
5584 __Pyx_RefNannyFinishContext();
5597 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_5isActive(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5598 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_5isActive(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5599 PyObject *__pyx_r = 0;
5600 __Pyx_RefNannyDeclarations
5601 __Pyx_RefNannySetupContext(
"isActive (wrapper)", 0);
5602 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_4isActive(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
5605 __Pyx_RefNannyFinishContext();
5609 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_4isActive(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
5610 PyObject *__pyx_r = NULL;
5611 __Pyx_RefNannyDeclarations
5612 PyObject *__pyx_t_1 = NULL;
5613 PyObject *__pyx_t_2 = NULL;
5614 int __pyx_lineno = 0;
5615 const char *__pyx_filename = NULL;
5616 int __pyx_clineno = 0;
5617 __Pyx_RefNannySetupContext(
"isActive", 0);
5626 __Pyx_XDECREF(__pyx_r);
5627 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_epsilon);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5628 __Pyx_GOTREF(__pyx_t_1);
5629 __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_int_0, Py_GT); __Pyx_XGOTREF(__pyx_t_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 238; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5630 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5631 __pyx_r = __pyx_t_2;
5645 __Pyx_XDECREF(__pyx_t_1);
5646 __Pyx_XDECREF(__pyx_t_2);
5647 __Pyx_AddTraceback(
"espressomd.interactions.GenericLennardJonesInteraction.isActive", __pyx_clineno, __pyx_lineno, __pyx_filename);
5650 __Pyx_XGIVEREF(__pyx_r);
5651 __Pyx_RefNannyFinishContext();
5664 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_7_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5665 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_7_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5666 PyObject *__pyx_r = 0;
5667 __Pyx_RefNannyDeclarations
5668 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
5669 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_6_setParamsInEsCore(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
5672 __Pyx_RefNannyFinishContext();
5676 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_6_setParamsInEsCore(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
5677 PyObject *__pyx_r = NULL;
5678 __Pyx_RefNannyDeclarations
5679 PyObject *__pyx_t_1 = NULL;
5681 PyObject *__pyx_t_3 = NULL;
5682 PyObject *__pyx_t_4 = NULL;
5683 PyObject *__pyx_t_5 = NULL;
5684 PyObject *__pyx_t_6 = NULL;
5696 int __pyx_lineno = 0;
5697 const char *__pyx_filename = NULL;
5698 int __pyx_clineno = 0;
5699 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
5708 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_shift);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5709 __Pyx_GOTREF(__pyx_t_1);
5710 __pyx_t_2 = (__Pyx_PyString_Equals(__pyx_t_1, __pyx_n_s_auto, Py_EQ));
if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5711 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5721 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_b1);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5722 __Pyx_GOTREF(__pyx_t_1);
5723 __pyx_t_3 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5724 __Pyx_GOTREF(__pyx_t_3);
5725 __pyx_t_4 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5726 __Pyx_GOTREF(__pyx_t_4);
5727 __pyx_t_5 = __Pyx_PyNumber_Divide(__pyx_t_3, __pyx_t_4);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5728 __Pyx_GOTREF(__pyx_t_5);
5729 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5730 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5731 __pyx_t_4 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_e1);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5732 __Pyx_GOTREF(__pyx_t_4);
5733 __pyx_t_3 = PyNumber_Power(__pyx_t_5, __pyx_t_4, Py_None);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5734 __Pyx_GOTREF(__pyx_t_3);
5735 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5736 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5737 __pyx_t_4 = PyNumber_Multiply(__pyx_t_1, __pyx_t_3);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5738 __Pyx_GOTREF(__pyx_t_4);
5739 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5740 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5749 __pyx_t_3 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_b2);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5750 __Pyx_GOTREF(__pyx_t_3);
5751 __pyx_t_1 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5752 __Pyx_GOTREF(__pyx_t_1);
5753 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5754 __Pyx_GOTREF(__pyx_t_5);
5755 __pyx_t_6 = __Pyx_PyNumber_Divide(__pyx_t_1, __pyx_t_5);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5756 __Pyx_GOTREF(__pyx_t_6);
5757 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5758 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5759 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_e2);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5760 __Pyx_GOTREF(__pyx_t_5);
5761 __pyx_t_1 = PyNumber_Power(__pyx_t_6, __pyx_t_5, Py_None);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5762 __Pyx_GOTREF(__pyx_t_1);
5763 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
5764 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5765 __pyx_t_5 = PyNumber_Multiply(__pyx_t_3, __pyx_t_1);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5766 __Pyx_GOTREF(__pyx_t_5);
5767 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5768 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5769 __pyx_t_1 = PyNumber_Subtract(__pyx_t_4, __pyx_t_5);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5770 __Pyx_GOTREF(__pyx_t_1);
5771 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5772 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5781 __pyx_t_5 = PyNumber_Negative(__pyx_t_1);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5782 __Pyx_GOTREF(__pyx_t_5);
5783 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5784 if (unlikely(PyObject_SetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_shift, __pyx_t_5) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 244; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5785 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5797 __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5798 __Pyx_GOTREF(__pyx_t_5);
5799 __pyx_t_7 = __Pyx_PyInt_As_int(__pyx_t_5);
if (unlikely((__pyx_t_7 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5800 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5801 __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_self->__pyx_base._partTypes, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5802 __Pyx_GOTREF(__pyx_t_5);
5803 __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_5);
if (unlikely((__pyx_t_8 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 263; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5804 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5813 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_epsilon);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5814 __Pyx_GOTREF(__pyx_t_5);
5815 __pyx_t_9 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_9 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 264; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5816 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5825 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_sigma);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5826 __Pyx_GOTREF(__pyx_t_5);
5827 __pyx_t_10 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_10 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5828 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5837 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_cutoff);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5838 __Pyx_GOTREF(__pyx_t_5);
5839 __pyx_t_11 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_11 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5840 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5849 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_shift);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5850 __Pyx_GOTREF(__pyx_t_5);
5851 __pyx_t_12 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_12 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5852 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5861 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_offset);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 268; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5862 __Pyx_GOTREF(__pyx_t_5);
5863 __pyx_t_13 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_13 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 268; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5864 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5873 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_e1);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5874 __Pyx_GOTREF(__pyx_t_5);
5875 __pyx_t_14 = __Pyx_PyInt_As_int(__pyx_t_5);
if (unlikely((__pyx_t_14 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5876 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5885 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_e2);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5886 __Pyx_GOTREF(__pyx_t_5);
5887 __pyx_t_15 = __Pyx_PyInt_As_int(__pyx_t_5);
if (unlikely((__pyx_t_15 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5888 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5897 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_b1);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5898 __Pyx_GOTREF(__pyx_t_5);
5899 __pyx_t_16 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_16 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 271; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5900 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5909 __pyx_t_5 = PyObject_GetItem(__pyx_v_self->__pyx_base._params, __pyx_n_s_b2);
if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 272; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
5910 __Pyx_GOTREF(__pyx_t_5);
5911 __pyx_t_17 = __pyx_PyFloat_AsDouble(__pyx_t_5);
if (unlikely((__pyx_t_17 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 272; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5912 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5921 __pyx_t_2 = (
ljgen_set_params(__pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, __pyx_t_11, __pyx_t_12, __pyx_t_13, __pyx_t_14, __pyx_t_15, __pyx_t_16, __pyx_t_17, 0.0) != 0);
5931 __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__18, NULL);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5932 __Pyx_GOTREF(__pyx_t_5);
5933 __Pyx_Raise(__pyx_t_5, 0, 0, 0);
5934 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
5935 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
5947 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5950 __Pyx_XDECREF(__pyx_t_1);
5951 __Pyx_XDECREF(__pyx_t_3);
5952 __Pyx_XDECREF(__pyx_t_4);
5953 __Pyx_XDECREF(__pyx_t_5);
5954 __Pyx_XDECREF(__pyx_t_6);
5955 __Pyx_AddTraceback(
"espressomd.interactions.GenericLennardJonesInteraction._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
5958 __Pyx_XGIVEREF(__pyx_r);
5959 __Pyx_RefNannyFinishContext();
5972 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_9defaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
5973 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_9defaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
5974 PyObject *__pyx_r = 0;
5975 __Pyx_RefNannyDeclarations
5976 __Pyx_RefNannySetupContext(
"defaultParams (wrapper)", 0);
5977 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_8defaultParams(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
5980 __Pyx_RefNannyFinishContext();
5984 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_8defaultParams(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
5985 PyObject *__pyx_r = NULL;
5986 __Pyx_RefNannyDeclarations
5987 PyObject *__pyx_t_1 = NULL;
5988 int __pyx_lineno = 0;
5989 const char *__pyx_filename = NULL;
5990 int __pyx_clineno = 0;
5991 __Pyx_RefNannySetupContext(
"defaultParams", 0);
6000 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6001 __Pyx_GOTREF(__pyx_t_1);
6002 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_epsilon, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6003 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_sigma, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6004 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_cutoff, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6005 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_shift, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6006 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_offset, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6007 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_e1, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6008 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_e2, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6009 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_b1, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6010 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_b2, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6011 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_delta, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6012 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_lambda, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6013 __Pyx_GIVEREF(__pyx_t_1);
6014 __Pyx_GOTREF(__pyx_v_self->__pyx_base._params);
6015 __Pyx_DECREF(__pyx_v_self->__pyx_base._params);
6016 __pyx_v_self->__pyx_base._params = __pyx_t_1;
6028 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6031 __Pyx_XDECREF(__pyx_t_1);
6032 __Pyx_AddTraceback(
"espressomd.interactions.GenericLennardJonesInteraction.defaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
6035 __Pyx_XGIVEREF(__pyx_r);
6036 __Pyx_RefNannyFinishContext();
6049 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_11typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
6050 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_11typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
6051 PyObject *__pyx_r = 0;
6052 __Pyx_RefNannyDeclarations
6053 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
6054 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_10typeName(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
6057 __Pyx_RefNannyFinishContext();
6061 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_10typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
6062 PyObject *__pyx_r = NULL;
6063 __Pyx_RefNannyDeclarations
6064 __Pyx_RefNannySetupContext(
"typeName", 0);
6073 __Pyx_XDECREF(__pyx_r);
6074 __Pyx_INCREF(__pyx_n_s_GenericLennardJones);
6075 __pyx_r = __pyx_n_s_GenericLennardJones;
6088 __Pyx_XGIVEREF(__pyx_r);
6089 __Pyx_RefNannyFinishContext();
6102 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_13validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
6103 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_13validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
6104 PyObject *__pyx_r = 0;
6105 __Pyx_RefNannyDeclarations
6106 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
6107 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_12validKeys(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
6110 __Pyx_RefNannyFinishContext();
6114 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_12validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
6115 PyObject *__pyx_r = NULL;
6116 __Pyx_RefNannyDeclarations
6117 __Pyx_RefNannySetupContext(
"validKeys", 0);
6126 __Pyx_XDECREF(__pyx_r);
6127 __Pyx_INCREF(__pyx_tuple__19);
6128 __pyx_r = __pyx_tuple__19;
6141 __Pyx_XGIVEREF(__pyx_r);
6142 __Pyx_RefNannyFinishContext();
6155 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_15requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
6156 static PyObject *__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_15requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
6157 PyObject *__pyx_r = 0;
6158 __Pyx_RefNannyDeclarations
6159 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
6160 __pyx_r = __pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_14requiredKeys(((
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *)__pyx_v_self));
6163 __Pyx_RefNannyFinishContext();
6167 static PyObject *__pyx_pf_10espressomd_12interactions_30GenericLennardJonesInteraction_14requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction *__pyx_v_self) {
6168 PyObject *__pyx_r = NULL;
6169 __Pyx_RefNannyDeclarations
6170 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
6179 __Pyx_XDECREF(__pyx_r);
6180 __Pyx_INCREF(__pyx_tuple__20);
6181 __pyx_r = __pyx_tuple__20;
6194 __Pyx_XGIVEREF(__pyx_r);
6195 __Pyx_RefNannyFinishContext();
6208 static PyObject *__pyx_pw_10espressomd_12interactions_26NonBondedInteractionHandle_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
6209 static char __pyx_doc_10espressomd_12interactions_26NonBondedInteractionHandle___init__[] =
"Takes two particle types as argument";
6210 static PyMethodDef __pyx_mdef_10espressomd_12interactions_26NonBondedInteractionHandle_1__init__ = {
"__init__", (PyCFunction)__pyx_pw_10espressomd_12interactions_26NonBondedInteractionHandle_1__init__, METH_VARARGS|METH_KEYWORDS, __pyx_doc_10espressomd_12interactions_26NonBondedInteractionHandle___init__};
6211 static PyObject *__pyx_pw_10espressomd_12interactions_26NonBondedInteractionHandle_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
6212 PyObject *__pyx_v_self = 0;
6213 PyObject *__pyx_v__type1 = 0;
6214 PyObject *__pyx_v__type2 = 0;
6215 int __pyx_lineno = 0;
6216 const char *__pyx_filename = NULL;
6217 int __pyx_clineno = 0;
6218 PyObject *__pyx_r = 0;
6219 __Pyx_RefNannyDeclarations
6220 __Pyx_RefNannySetupContext(
"__init__ (wrapper)", 0);
6222 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_type1,&__pyx_n_s_type2,0};
6223 PyObject* values[3] = {0,0,0};
6224 if (unlikely(__pyx_kwds)) {
6226 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
6228 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6229 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6230 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6232 default:
goto __pyx_L5_argtuple_error;
6234 kw_args = PyDict_Size(__pyx_kwds);
6237 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
6238 else goto __pyx_L5_argtuple_error;
6240 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_type1)) != 0)) kw_args--;
6242 __Pyx_RaiseArgtupleInvalid(
"__init__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
6245 if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_type2)) != 0)) kw_args--;
6247 __Pyx_RaiseArgtupleInvalid(
"__init__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
6250 if (unlikely(kw_args > 0)) {
6251 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
6253 }
else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
6254 goto __pyx_L5_argtuple_error;
6256 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
6257 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
6258 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
6260 __pyx_v_self = values[0];
6261 __pyx_v__type1 = values[1];
6262 __pyx_v__type2 = values[2];
6264 goto __pyx_L4_argument_unpacking_done;
6265 __pyx_L5_argtuple_error:;
6266 __Pyx_RaiseArgtupleInvalid(
"__init__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
6268 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteractionHandle.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6269 __Pyx_RefNannyFinishContext();
6271 __pyx_L4_argument_unpacking_done:;
6272 __pyx_r = __pyx_pf_10espressomd_12interactions_26NonBondedInteractionHandle___init__(__pyx_self, __pyx_v_self, __pyx_v__type1, __pyx_v__type2);
6275 __Pyx_RefNannyFinishContext();
6279 static PyObject *__pyx_pf_10espressomd_12interactions_26NonBondedInteractionHandle___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v__type1, PyObject *__pyx_v__type2) {
6280 PyObject *__pyx_r = NULL;
6281 __Pyx_RefNannyDeclarations
6285 PyObject *__pyx_t_4 = NULL;
6286 PyObject *__pyx_t_5 = NULL;
6287 int __pyx_lineno = 0;
6288 const char *__pyx_filename = NULL;
6289 int __pyx_clineno = 0;
6290 __Pyx_RefNannySetupContext(
"__init__", 0);
6299 __pyx_t_2 = PyInt_Check(__pyx_v__type1);
6300 __pyx_t_3 = (__pyx_t_2 != 0);
6303 __pyx_t_1 = __pyx_t_3;
6304 goto __pyx_L4_bool_binop_done;
6306 __pyx_t_3 = PyInt_Check(__pyx_v__type2);
6307 __pyx_t_2 = (__pyx_t_3 != 0);
6308 __pyx_t_1 = __pyx_t_2;
6309 __pyx_L4_bool_binop_done:;
6310 __pyx_t_2 = ((!__pyx_t_1) != 0);
6320 __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__21, NULL);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6321 __Pyx_GOTREF(__pyx_t_4);
6322 __Pyx_Raise(__pyx_t_4, 0, 0, 0);
6323 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6324 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6334 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_type1_2, __pyx_v__type1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6343 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_type2_2, __pyx_v__type2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6352 __pyx_t_4 = PyTuple_New(2);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6353 __Pyx_GOTREF(__pyx_t_4);
6354 __Pyx_INCREF(__pyx_v__type1);
6355 PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v__type1);
6356 __Pyx_GIVEREF(__pyx_v__type1);
6357 __Pyx_INCREF(__pyx_v__type2);
6358 PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v__type2);
6359 __Pyx_GIVEREF(__pyx_v__type2);
6360 __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_LennardJonesInteraction)), __pyx_t_4, NULL);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6361 __Pyx_GOTREF(__pyx_t_5);
6362 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6363 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_lennardJones, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6364 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6373 __pyx_t_5 = PyTuple_New(2);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6374 __Pyx_GOTREF(__pyx_t_5);
6375 __Pyx_INCREF(__pyx_v__type1);
6376 PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v__type1);
6377 __Pyx_GIVEREF(__pyx_v__type1);
6378 __Pyx_INCREF(__pyx_v__type2);
6379 PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_v__type2);
6380 __Pyx_GIVEREF(__pyx_v__type2);
6381 __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_LennardJonesInteraction)), __pyx_t_5, NULL);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6382 __Pyx_GOTREF(__pyx_t_4);
6383 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
6384 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_genericLennardJones, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 321; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6385 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6396 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6399 __Pyx_XDECREF(__pyx_t_4);
6400 __Pyx_XDECREF(__pyx_t_5);
6401 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteractionHandle.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6404 __Pyx_XGIVEREF(__pyx_r);
6405 __Pyx_RefNannyFinishContext();
6418 static PyObject *__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_key);
6419 static PyObject *__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_1__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
6420 PyObject *__pyx_r = 0;
6421 __Pyx_RefNannyDeclarations
6422 __Pyx_RefNannySetupContext(
"__getitem__ (wrapper)", 0);
6423 __pyx_r = __pyx_pf_10espressomd_12interactions_21NonBondedInteractions___getitem__(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *)__pyx_v_self), ((PyObject *)__pyx_v_key));
6426 __Pyx_RefNannyFinishContext();
6430 static PyObject *__pyx_pf_10espressomd_12interactions_21NonBondedInteractions___getitem__(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *__pyx_v_self, PyObject *__pyx_v_key) {
6431 PyObject *__pyx_r = NULL;
6432 __Pyx_RefNannyDeclarations
6435 PyObject *__pyx_t_3 = NULL;
6436 Py_ssize_t __pyx_t_4;
6438 PyObject *__pyx_t_6 = NULL;
6439 PyObject *__pyx_t_7 = NULL;
6440 PyObject *__pyx_t_8 = NULL;
6441 PyObject *__pyx_t_9 = NULL;
6442 PyObject *__pyx_t_10 = NULL;
6443 int __pyx_lineno = 0;
6444 const char *__pyx_filename = NULL;
6445 int __pyx_clineno = 0;
6446 __Pyx_RefNannySetupContext(
"__getitem__", 0);
6455 __pyx_t_1 = PyTuple_Check(__pyx_v_key);
6456 __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
6466 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__22, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6467 __Pyx_GOTREF(__pyx_t_3);
6468 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
6469 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6470 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6480 __pyx_t_4 = PyObject_Length(__pyx_v_key);
if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6481 __pyx_t_1 = ((__pyx_t_4 != 2) != 0);
6484 __pyx_t_2 = __pyx_t_1;
6485 goto __pyx_L5_bool_binop_done;
6487 __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_key, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
6488 __Pyx_GOTREF(__pyx_t_3);
6489 __pyx_t_1 = PyInt_Check(__pyx_t_3);
6490 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6491 __pyx_t_5 = ((!(__pyx_t_1 != 0)) != 0);
6494 __pyx_t_2 = __pyx_t_5;
6495 goto __pyx_L5_bool_binop_done;
6497 __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_key, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 334; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
6498 __Pyx_GOTREF(__pyx_t_3);
6499 __pyx_t_5 = PyInt_Check(__pyx_t_3);
6500 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6501 __pyx_t_1 = ((!(__pyx_t_5 != 0)) != 0);
6502 __pyx_t_2 = __pyx_t_1;
6503 __pyx_L5_bool_binop_done:;
6513 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__23, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6514 __Pyx_GOTREF(__pyx_t_3);
6515 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
6516 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6517 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6527 __Pyx_XDECREF(__pyx_r);
6528 __pyx_t_6 = __Pyx_GetModuleGlobalName(__pyx_n_s_NonBondedInteractionHandle);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6529 __Pyx_GOTREF(__pyx_t_6);
6530 __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_key, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_7 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
6531 __Pyx_GOTREF(__pyx_t_7);
6532 __pyx_t_8 = __Pyx_GetItemInt(__pyx_v_key, 1,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_8 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
6533 __Pyx_GOTREF(__pyx_t_8);
6536 if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_6))) {
6537 __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_6);
6538 if (likely(__pyx_t_9)) {
6539 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
6540 __Pyx_INCREF(__pyx_t_9);
6541 __Pyx_INCREF(
function);
6542 __Pyx_DECREF_SET(__pyx_t_6,
function);
6546 __pyx_t_10 = PyTuple_New(2+__pyx_t_4);
if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6547 __Pyx_GOTREF(__pyx_t_10);
6549 PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_9); __Pyx_GIVEREF(__pyx_t_9); __pyx_t_9 = NULL;
6551 PyTuple_SET_ITEM(__pyx_t_10, 0+__pyx_t_4, __pyx_t_7);
6552 __Pyx_GIVEREF(__pyx_t_7);
6553 PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_4, __pyx_t_8);
6554 __Pyx_GIVEREF(__pyx_t_8);
6557 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_10, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6558 __Pyx_GOTREF(__pyx_t_3);
6559 __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
6560 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6561 __pyx_r = __pyx_t_3;
6575 __Pyx_XDECREF(__pyx_t_3);
6576 __Pyx_XDECREF(__pyx_t_6);
6577 __Pyx_XDECREF(__pyx_t_7);
6578 __Pyx_XDECREF(__pyx_t_8);
6579 __Pyx_XDECREF(__pyx_t_9);
6580 __Pyx_XDECREF(__pyx_t_10);
6581 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteractions.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6584 __Pyx_XGIVEREF(__pyx_r);
6585 __Pyx_RefNannyFinishContext();
6598 static PyObject *__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_3setForceCap(PyObject *__pyx_v_self, PyObject *__pyx_v_cap);
6599 static PyObject *__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_3setForceCap(PyObject *__pyx_v_self, PyObject *__pyx_v_cap) {
6600 PyObject *__pyx_r = 0;
6601 __Pyx_RefNannyDeclarations
6602 __Pyx_RefNannySetupContext(
"setForceCap (wrapper)", 0);
6603 __pyx_r = __pyx_pf_10espressomd_12interactions_21NonBondedInteractions_2setForceCap(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *)__pyx_v_self), ((PyObject *)__pyx_v_cap));
6606 __Pyx_RefNannyFinishContext();
6610 static PyObject *__pyx_pf_10espressomd_12interactions_21NonBondedInteractions_2setForceCap(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *__pyx_v_self, PyObject *__pyx_v_cap) {
6611 PyObject *__pyx_r = NULL;
6612 __Pyx_RefNannyDeclarations
6615 PyObject *__pyx_t_3 = NULL;
6616 int __pyx_lineno = 0;
6617 const char *__pyx_filename = NULL;
6618 int __pyx_clineno = 0;
6619 __Pyx_RefNannySetupContext(
"setForceCap", 0);
6628 __pyx_t_1 = __pyx_PyFloat_AsDouble(__pyx_v_cap);
if (unlikely((__pyx_t_1 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 340; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6639 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__24, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6640 __Pyx_GOTREF(__pyx_t_3);
6641 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
6642 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
6643 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6655 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
6658 __Pyx_XDECREF(__pyx_t_3);
6659 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteractions.setForceCap", __pyx_clineno, __pyx_lineno, __pyx_filename);
6662 __Pyx_XGIVEREF(__pyx_r);
6663 __Pyx_RefNannyFinishContext();
6676 static PyObject *__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_5getForceCap(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
6677 static PyObject *__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_5getForceCap(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
6678 PyObject *__pyx_r = 0;
6679 __Pyx_RefNannyDeclarations
6680 __Pyx_RefNannySetupContext(
"getForceCap (wrapper)", 0);
6681 __pyx_r = __pyx_pf_10espressomd_12interactions_21NonBondedInteractions_4getForceCap(((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *)__pyx_v_self));
6684 __Pyx_RefNannyFinishContext();
6688 static PyObject *__pyx_pf_10espressomd_12interactions_21NonBondedInteractions_4getForceCap(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions *__pyx_v_self) {
6689 PyObject *__pyx_r = NULL;
6690 __Pyx_RefNannyDeclarations
6691 PyObject *__pyx_t_1 = NULL;
6692 int __pyx_lineno = 0;
6693 const char *__pyx_filename = NULL;
6694 int __pyx_clineno = 0;
6695 __Pyx_RefNannySetupContext(
"getForceCap", 0);
6704 __Pyx_XDECREF(__pyx_r);
6705 __pyx_t_1 = PyFloat_FromDouble(
force_cap);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6706 __Pyx_GOTREF(__pyx_t_1);
6707 __pyx_r = __pyx_t_1;
6721 __Pyx_XDECREF(__pyx_t_1);
6722 __Pyx_AddTraceback(
"espressomd.interactions.NonBondedInteractions.getForceCap", __pyx_clineno, __pyx_lineno, __pyx_filename);
6725 __Pyx_XGIVEREF(__pyx_r);
6726 __Pyx_RefNannyFinishContext();
6739 static int __pyx_pw_10espressomd_12interactions_17BondedInteraction_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
6740 static char __pyx_doc_10espressomd_12interactions_17BondedInteraction___init__[] =
"Either called with an interaction id, in which case, the interaction will represent\n the bonded interaction as it is defined in Espresso core\n Or called with keyword arguments describing a new interaction.";
6741 #if CYTHON_COMPILING_IN_CPYTHON
6742 struct wrapperbase __pyx_wrapperbase_10espressomd_12interactions_17BondedInteraction___init__;
6744 static int __pyx_pw_10espressomd_12interactions_17BondedInteraction_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
6745 PyObject *__pyx_v_args = 0;
6746 PyObject *__pyx_v_kwargs = 0;
6748 __Pyx_RefNannyDeclarations
6749 __Pyx_RefNannySetupContext(
"__init__ (wrapper)", 0);
6750 if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds,
"__init__", 1)))
return -1;
6751 __pyx_v_kwargs = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
6752 if (unlikely(!__pyx_v_kwargs))
return -1;
6753 __Pyx_GOTREF(__pyx_v_kwargs);
6754 __Pyx_INCREF(__pyx_args);
6755 __pyx_v_args = __pyx_args;
6756 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction___init__(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self), __pyx_v_args, __pyx_v_kwargs);
6759 __Pyx_XDECREF(__pyx_v_args);
6760 __Pyx_XDECREF(__pyx_v_kwargs);
6761 __Pyx_RefNannyFinishContext();
6765 static int __pyx_pf_10espressomd_12interactions_17BondedInteraction___init__(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) {
6766 PyObject *__pyx_v_bondId = NULL;
6767 PyObject *__pyx_v_k = NULL;
6769 __Pyx_RefNannyDeclarations
6771 Py_ssize_t __pyx_t_2;
6773 PyObject *__pyx_t_4 = NULL;
6775 PyObject *__pyx_t_6 = NULL;
6776 PyObject *__pyx_t_7 = NULL;
6777 PyObject *__pyx_t_8 = NULL;
6778 PyObject *(*__pyx_t_9)(PyObject *);
6779 PyObject *__pyx_t_10 = NULL;
6780 int __pyx_lineno = 0;
6781 const char *__pyx_filename = NULL;
6782 int __pyx_clineno = 0;
6783 __Pyx_RefNannySetupContext(
"__init__", 0);
6792 __pyx_t_2 = PyTuple_GET_SIZE(__pyx_v_args);
if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6793 __pyx_t_3 = ((__pyx_t_2 == 1) != 0);
6796 __pyx_t_1 = __pyx_t_3;
6797 goto __pyx_L4_bool_binop_done;
6799 __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_args, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
6800 __Pyx_GOTREF(__pyx_t_4);
6801 __pyx_t_3 = PyInt_Check(__pyx_t_4);
6802 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6803 __pyx_t_5 = (__pyx_t_3 != 0);
6804 __pyx_t_1 = __pyx_t_5;
6805 __pyx_L4_bool_binop_done:;
6815 __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_args, 0,
long, 1, __Pyx_PyInt_From_long, 0, 0, 1);
if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
6816 __Pyx_GOTREF(__pyx_t_4);
6817 __pyx_v_bondId = __pyx_t_4;
6827 __pyx_t_2 = __Pyx_PyIndex_AsSsize_t(__pyx_v_bondId);
if (unlikely((__pyx_t_2 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6828 __pyx_t_4 = __Pyx_PyInt_From_int((
bonded_ia_params[__pyx_t_2]).type);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6829 __Pyx_GOTREF(__pyx_t_4);
6830 __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_typeNumber);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6831 __Pyx_GOTREF(__pyx_t_7);
6833 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_7))) {
6834 __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
6835 if (likely(__pyx_t_8)) {
6836 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_7);
6837 __Pyx_INCREF(__pyx_t_8);
6838 __Pyx_INCREF(
function);
6839 __Pyx_DECREF_SET(__pyx_t_7,
function);
6843 __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_8);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6844 __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
6846 __pyx_t_6 = __Pyx_PyObject_CallNoArg(__pyx_t_7);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6848 __Pyx_GOTREF(__pyx_t_6);
6849 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
6850 __pyx_t_7 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_NE); __Pyx_XGOTREF(__pyx_t_7);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6851 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6852 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6853 __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_7);
if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6854 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
6864 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_typeName);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 359; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6865 __Pyx_GOTREF(__pyx_t_6);
6867 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
6868 __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_6);
6869 if (likely(__pyx_t_4)) {
6870 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
6871 __Pyx_INCREF(__pyx_t_4);
6872 __Pyx_INCREF(
function);
6873 __Pyx_DECREF_SET(__pyx_t_6,
function);
6877 __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_4);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 359; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6878 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6880 __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 359; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6882 __Pyx_GOTREF(__pyx_t_7);
6883 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6884 __pyx_t_6 = PyNumber_Add(__pyx_kp_s_The_bond_with_this_id_is_not_def, __pyx_t_7);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 359; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6885 __Pyx_GOTREF(__pyx_t_6);
6886 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
6887 __pyx_t_7 = PyNumber_Add(__pyx_t_6, __pyx_kp_s_bond_in_the_Espresso_core);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 359; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6888 __Pyx_GOTREF(__pyx_t_7);
6889 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6898 __pyx_t_6 = PyTuple_New(1);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6899 __Pyx_GOTREF(__pyx_t_6);
6900 PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_7);
6901 __Pyx_GIVEREF(__pyx_t_7);
6903 __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_6, NULL);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6904 __Pyx_GOTREF(__pyx_t_7);
6905 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6906 __Pyx_Raise(__pyx_t_7, 0, 0, 0);
6907 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
6908 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 358; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6918 if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_bondId, __pyx_v_bondId) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 361; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6927 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 364; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6928 __Pyx_GOTREF(__pyx_t_6);
6930 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
6931 __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_6);
6932 if (likely(__pyx_t_4)) {
6933 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
6934 __Pyx_INCREF(__pyx_t_4);
6935 __Pyx_INCREF(
function);
6936 __Pyx_DECREF_SET(__pyx_t_6,
function);
6940 __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_4);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 364; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6941 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6943 __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 364; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6945 __Pyx_GOTREF(__pyx_t_7);
6946 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6947 if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_params, __pyx_t_7) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 364; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6948 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
6957 if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_bondId, __pyx_v_bondId) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 365; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6968 __pyx_t_2 = PyTuple_GET_SIZE(__pyx_v_args);
if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6969 __pyx_t_1 = ((__pyx_t_2 == 0) != 0);
6979 __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_requiredKeys);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6980 __Pyx_GOTREF(__pyx_t_6);
6982 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
6983 __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_6);
6984 if (likely(__pyx_t_4)) {
6985 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_6);
6986 __Pyx_INCREF(__pyx_t_4);
6987 __Pyx_INCREF(
function);
6988 __Pyx_DECREF_SET(__pyx_t_6,
function);
6992 __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_4);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6993 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
6995 __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_6);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
6997 __Pyx_GOTREF(__pyx_t_7);
6998 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
6999 if (likely(PyList_CheckExact(__pyx_t_7)) || PyTuple_CheckExact(__pyx_t_7)) {
7000 __pyx_t_6 = __pyx_t_7; __Pyx_INCREF(__pyx_t_6); __pyx_t_2 = 0;
7003 __pyx_t_2 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_7);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7004 __Pyx_GOTREF(__pyx_t_6);
7005 __pyx_t_9 = Py_TYPE(__pyx_t_6)->tp_iternext;
if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7007 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7009 if (likely(!__pyx_t_9)) {
7010 if (likely(PyList_CheckExact(__pyx_t_6))) {
7011 if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_6))
break;
7012 #if CYTHON_COMPILING_IN_CPYTHON
7013 __pyx_t_7 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_2); __Pyx_INCREF(__pyx_t_7); __pyx_t_2++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7015 __pyx_t_7 = PySequence_ITEM(__pyx_t_6, __pyx_t_2); __pyx_t_2++;
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7018 if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_6))
break;
7019 #if CYTHON_COMPILING_IN_CPYTHON
7020 __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_2); __Pyx_INCREF(__pyx_t_7); __pyx_t_2++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7022 __pyx_t_7 = PySequence_ITEM(__pyx_t_6, __pyx_t_2); __pyx_t_2++;
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7026 __pyx_t_7 = __pyx_t_9(__pyx_t_6);
7027 if (unlikely(!__pyx_t_7)) {
7028 PyObject* exc_type = PyErr_Occurred();
7030 if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
7031 else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7035 __Pyx_GOTREF(__pyx_t_7);
7037 __Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_7);
7047 __pyx_t_1 = (__Pyx_PyDict_Contains(__pyx_v_k, __pyx_v_kwargs, Py_NE));
if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7048 __pyx_t_5 = (__pyx_t_1 != 0);
7058 __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_requiredKeys);
if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7059 __Pyx_GOTREF(__pyx_t_8);
7061 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_8))) {
7062 __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_8);
7063 if (likely(__pyx_t_10)) {
7064 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_8);
7065 __Pyx_INCREF(__pyx_t_10);
7066 __Pyx_INCREF(
function);
7067 __Pyx_DECREF_SET(__pyx_t_8,
function);
7071 __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_10);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7072 __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
7074 __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_8);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7076 __Pyx_GOTREF(__pyx_t_4);
7077 __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7078 __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_str);
if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7079 __Pyx_GOTREF(__pyx_t_8);
7080 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7082 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_8))) {
7083 __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_8);
7084 if (likely(__pyx_t_4)) {
7085 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_8);
7086 __Pyx_INCREF(__pyx_t_4);
7087 __Pyx_INCREF(
function);
7088 __Pyx_DECREF_SET(__pyx_t_8,
function);
7092 __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_4);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7093 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7095 __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_8);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7097 __Pyx_GOTREF(__pyx_t_7);
7098 __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7099 __pyx_t_8 = PyNumber_Add(__pyx_kp_s_At_least_the_following_keys_have, __pyx_t_7);
if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7100 __Pyx_GOTREF(__pyx_t_8);
7101 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7110 __pyx_t_7 = PyTuple_New(1);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7111 __Pyx_GOTREF(__pyx_t_7);
7112 PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_8);
7113 __Pyx_GIVEREF(__pyx_t_8);
7115 __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_7, NULL);
if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7116 __Pyx_GOTREF(__pyx_t_8);
7117 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7118 __Pyx_Raise(__pyx_t_8, 0, 0, 0);
7119 __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7120 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7131 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7140 if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_params_2, __pyx_v_kwargs) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 375; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7149 __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_validateParams);
if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7150 __Pyx_GOTREF(__pyx_t_8);
7152 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_8))) {
7153 __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_8);
7154 if (likely(__pyx_t_7)) {
7155 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_8);
7156 __Pyx_INCREF(__pyx_t_7);
7157 __Pyx_INCREF(
function);
7158 __Pyx_DECREF_SET(__pyx_t_8,
function);
7162 __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_7);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7163 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
7165 __pyx_t_6 = __Pyx_PyObject_CallNoArg(__pyx_t_8);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 378; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7167 __Pyx_GOTREF(__pyx_t_6);
7168 __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
7169 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7181 __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__25, NULL);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7182 __Pyx_GOTREF(__pyx_t_6);
7183 __Pyx_Raise(__pyx_t_6, 0, 0, 0);
7184 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7185 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7201 __Pyx_XDECREF(__pyx_t_4);
7202 __Pyx_XDECREF(__pyx_t_6);
7203 __Pyx_XDECREF(__pyx_t_7);
7204 __Pyx_XDECREF(__pyx_t_8);
7205 __Pyx_XDECREF(__pyx_t_10);
7206 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7209 __Pyx_XDECREF(__pyx_v_bondId);
7210 __Pyx_XDECREF(__pyx_v_k);
7211 __Pyx_RefNannyFinishContext();
7224 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_3isValid(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
7225 static char __pyx_doc_10espressomd_12interactions_17BondedInteraction_2isValid[] =
"Check, if the data stored in the instance still matches what is in Espresso";
7226 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_3isValid(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7227 PyObject *__pyx_r = 0;
7228 __Pyx_RefNannyDeclarations
7229 __Pyx_RefNannySetupContext(
"isValid (wrapper)", 0);
7230 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_2isValid(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
7233 __Pyx_RefNannyFinishContext();
7237 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_2isValid(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
7238 PyObject *__pyx_v_tempParams = NULL;
7239 PyObject *__pyx_r = NULL;
7240 __Pyx_RefNannyDeclarations
7241 PyObject *__pyx_t_1 = NULL;
7242 Py_ssize_t __pyx_t_2;
7243 PyObject *__pyx_t_3 = NULL;
7244 PyObject *__pyx_t_4 = NULL;
7245 PyObject *__pyx_t_5 = NULL;
7247 int __pyx_lineno = 0;
7248 const char *__pyx_filename = NULL;
7249 int __pyx_clineno = 0;
7250 __Pyx_RefNannySetupContext(
"isValid", 0);
7259 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7260 __Pyx_GOTREF(__pyx_t_1);
7261 __pyx_t_2 = __Pyx_PyIndex_AsSsize_t(__pyx_t_1);
if (unlikely((__pyx_t_2 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7262 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7263 __pyx_t_1 = __Pyx_PyInt_From_int((
bonded_ia_params[__pyx_t_2]).type);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7264 __Pyx_GOTREF(__pyx_t_1);
7265 __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_typeNumber);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7266 __Pyx_GOTREF(__pyx_t_4);
7268 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_4))) {
7269 __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
7270 if (likely(__pyx_t_5)) {
7271 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_4);
7272 __Pyx_INCREF(__pyx_t_5);
7273 __Pyx_INCREF(
function);
7274 __Pyx_DECREF_SET(__pyx_t_4,
function);
7278 __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7279 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
7281 __pyx_t_3 = __Pyx_PyObject_CallNoArg(__pyx_t_4);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7283 __Pyx_GOTREF(__pyx_t_3);
7284 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7285 __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_NE); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7286 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7287 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7288 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 388; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7289 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7299 __Pyx_XDECREF(__pyx_r);
7300 __Pyx_INCREF(Py_False);
7312 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_getParamsFromEsCore);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7313 __Pyx_GOTREF(__pyx_t_3);
7315 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
7316 __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_3);
7317 if (likely(__pyx_t_1)) {
7318 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_3);
7319 __Pyx_INCREF(__pyx_t_1);
7320 __Pyx_INCREF(
function);
7321 __Pyx_DECREF_SET(__pyx_t_3,
function);
7325 __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7326 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7328 __pyx_t_4 = __Pyx_PyObject_CallNoArg(__pyx_t_3);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7330 __Pyx_GOTREF(__pyx_t_4);
7331 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7332 __pyx_v_tempParams = __pyx_t_4;
7342 __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_params);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7343 __Pyx_GOTREF(__pyx_t_4);
7344 __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_v_tempParams, Py_NE); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7345 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
7346 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7347 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7357 __Pyx_XDECREF(__pyx_r);
7358 __Pyx_INCREF(Py_False);
7370 __Pyx_XDECREF(__pyx_r);
7371 __Pyx_INCREF(Py_True);
7385 __Pyx_XDECREF(__pyx_t_1);
7386 __Pyx_XDECREF(__pyx_t_3);
7387 __Pyx_XDECREF(__pyx_t_4);
7388 __Pyx_XDECREF(__pyx_t_5);
7389 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.isValid", __pyx_clineno, __pyx_lineno, __pyx_filename);
7392 __Pyx_XDECREF(__pyx_v_tempParams);
7393 __Pyx_XGIVEREF(__pyx_r);
7394 __Pyx_RefNannyFinishContext();
7407 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_6params_1__get__(PyObject *__pyx_v_self);
7408 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_6params_1__get__(PyObject *__pyx_v_self) {
7409 PyObject *__pyx_r = 0;
7410 __Pyx_RefNannyDeclarations
7411 __Pyx_RefNannySetupContext(
"__get__ (wrapper)", 0);
7412 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_6params___get__(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
7415 __Pyx_RefNannyFinishContext();
7419 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_6params___get__(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
7420 PyObject *__pyx_r = NULL;
7421 __Pyx_RefNannyDeclarations
7422 PyObject *__pyx_t_1 = NULL;
7423 int __pyx_lineno = 0;
7424 const char *__pyx_filename = NULL;
7425 int __pyx_clineno = 0;
7426 __Pyx_RefNannySetupContext(
"__get__", 0);
7435 __Pyx_XDECREF(__pyx_r);
7436 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7437 __Pyx_GOTREF(__pyx_t_1);
7438 __pyx_r = __pyx_t_1;
7452 __Pyx_XDECREF(__pyx_t_1);
7453 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.params.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7456 __Pyx_XGIVEREF(__pyx_r);
7457 __Pyx_RefNannyFinishContext();
7470 static int __pyx_pw_10espressomd_12interactions_17BondedInteraction_6params_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_p);
7471 static int __pyx_pw_10espressomd_12interactions_17BondedInteraction_6params_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_p) {
7473 __Pyx_RefNannyDeclarations
7474 __Pyx_RefNannySetupContext(
"__set__ (wrapper)", 0);
7475 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_6params_2__set__(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self), ((PyObject *)__pyx_v_p));
7478 __Pyx_RefNannyFinishContext();
7482 static int __pyx_pf_10espressomd_12interactions_17BondedInteraction_6params_2__set__(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self, PyObject *__pyx_v_p) {
7483 PyObject *__pyx_v_k = NULL;
7485 __Pyx_RefNannyDeclarations
7486 PyObject *__pyx_t_1 = NULL;
7487 PyObject *__pyx_t_2 = NULL;
7488 PyObject *__pyx_t_3 = NULL;
7489 Py_ssize_t __pyx_t_4;
7490 PyObject *(*__pyx_t_5)(PyObject *);
7491 PyObject *__pyx_t_6 = NULL;
7494 int __pyx_lineno = 0;
7495 const char *__pyx_filename = NULL;
7496 int __pyx_clineno = 0;
7497 __Pyx_RefNannySetupContext(
"__set__", 0);
7506 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_p, __pyx_n_s_keys);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7507 __Pyx_GOTREF(__pyx_t_2);
7509 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
7510 __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
7511 if (likely(__pyx_t_3)) {
7512 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_2);
7513 __Pyx_INCREF(__pyx_t_3);
7514 __Pyx_INCREF(
function);
7515 __Pyx_DECREF_SET(__pyx_t_2,
function);
7519 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7520 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7522 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7524 __Pyx_GOTREF(__pyx_t_1);
7525 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7526 if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
7527 __pyx_t_2 = __pyx_t_1; __Pyx_INCREF(__pyx_t_2); __pyx_t_4 = 0;
7530 __pyx_t_4 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7531 __Pyx_GOTREF(__pyx_t_2);
7532 __pyx_t_5 = Py_TYPE(__pyx_t_2)->tp_iternext;
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7534 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7536 if (likely(!__pyx_t_5)) {
7537 if (likely(PyList_CheckExact(__pyx_t_2))) {
7538 if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_2))
break;
7539 #if CYTHON_COMPILING_IN_CPYTHON
7540 __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7542 __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++;
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7545 if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_2))
break;
7546 #if CYTHON_COMPILING_IN_CPYTHON
7547 __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7549 __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++;
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7553 __pyx_t_1 = __pyx_t_5(__pyx_t_2);
7554 if (unlikely(!__pyx_t_1)) {
7555 PyObject* exc_type = PyErr_Occurred();
7557 if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
7558 else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7562 __Pyx_GOTREF(__pyx_t_1);
7564 __Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_1);
7574 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_validKeys);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7575 __Pyx_GOTREF(__pyx_t_3);
7577 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
7578 __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_3);
7579 if (likely(__pyx_t_6)) {
7580 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_3);
7581 __Pyx_INCREF(__pyx_t_6);
7582 __Pyx_INCREF(
function);
7583 __Pyx_DECREF_SET(__pyx_t_3,
function);
7587 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_6);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7588 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7590 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_3);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7592 __Pyx_GOTREF(__pyx_t_1);
7593 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7594 __pyx_t_7 = (__Pyx_PySequence_Contains(__pyx_v_k, __pyx_t_1, Py_NE));
if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7595 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7596 __pyx_t_8 = (__pyx_t_7 != 0);
7606 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_validKeys);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7607 __Pyx_GOTREF(__pyx_t_3);
7609 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
7610 __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_3);
7611 if (likely(__pyx_t_6)) {
7612 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_3);
7613 __Pyx_INCREF(__pyx_t_6);
7614 __Pyx_INCREF(
function);
7615 __Pyx_DECREF_SET(__pyx_t_3,
function);
7619 __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_6);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7620 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7622 __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_3);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7624 __Pyx_GOTREF(__pyx_t_1);
7625 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7626 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_str);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7627 __Pyx_GOTREF(__pyx_t_3);
7628 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7629 __pyx_t_1 = PyNumber_Add(__pyx_kp_s_Only_the_following_keys_are_supp, __pyx_t_3);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7630 __Pyx_GOTREF(__pyx_t_1);
7631 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7640 __pyx_t_3 = PyTuple_New(1);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7641 __Pyx_GOTREF(__pyx_t_3);
7642 PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
7643 __Pyx_GIVEREF(__pyx_t_1);
7645 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7646 __Pyx_GOTREF(__pyx_t_1);
7647 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7648 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
7649 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7650 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7661 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7670 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_setDefaultParams);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7671 __Pyx_GOTREF(__pyx_t_1);
7673 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_1))) {
7674 __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_1);
7675 if (likely(__pyx_t_3)) {
7676 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_1);
7677 __Pyx_INCREF(__pyx_t_3);
7678 __Pyx_INCREF(
function);
7679 __Pyx_DECREF_SET(__pyx_t_1,
function);
7683 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_t_3);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7684 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7686 __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7688 __Pyx_GOTREF(__pyx_t_2);
7689 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7690 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7699 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7700 __Pyx_GOTREF(__pyx_t_1);
7701 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_update);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7702 __Pyx_GOTREF(__pyx_t_3);
7703 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7705 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_3))) {
7706 __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_3);
7707 if (likely(__pyx_t_1)) {
7708 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_3);
7709 __Pyx_INCREF(__pyx_t_1);
7710 __Pyx_INCREF(
function);
7711 __Pyx_DECREF_SET(__pyx_t_3,
function);
7715 __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_p);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7716 __Pyx_GOTREF(__pyx_t_2);
7718 __pyx_t_6 = PyTuple_New(1+1);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7719 __Pyx_GOTREF(__pyx_t_6);
7720 PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = NULL;
7721 __Pyx_INCREF(__pyx_v_p);
7722 PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_v_p);
7723 __Pyx_GIVEREF(__pyx_v_p);
7724 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_6, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7725 __Pyx_GOTREF(__pyx_t_2);
7726 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
7728 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
7729 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
7743 __Pyx_XDECREF(__pyx_t_1);
7744 __Pyx_XDECREF(__pyx_t_2);
7745 __Pyx_XDECREF(__pyx_t_3);
7746 __Pyx_XDECREF(__pyx_t_6);
7747 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.params.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
7750 __Pyx_XDECREF(__pyx_v_k);
7751 __Pyx_RefNannyFinishContext();
7764 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_5validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
7765 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_5validateParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7766 PyObject *__pyx_r = 0;
7767 __Pyx_RefNannyDeclarations
7768 __Pyx_RefNannySetupContext(
"validateParams (wrapper)", 0);
7769 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_4validateParams(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
7772 __Pyx_RefNannyFinishContext();
7776 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_4validateParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
7777 PyObject *__pyx_r = NULL;
7778 __Pyx_RefNannyDeclarations
7779 __Pyx_RefNannySetupContext(
"validateParams", 0);
7788 __Pyx_XDECREF(__pyx_r);
7789 __Pyx_INCREF(Py_True);
7803 __Pyx_XGIVEREF(__pyx_r);
7804 __Pyx_RefNannyFinishContext();
7817 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_7_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
7818 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_7_getParamsFromEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7819 PyObject *__pyx_r = 0;
7820 __Pyx_RefNannyDeclarations
7821 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
7822 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_6_getParamsFromEsCore(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
7825 __Pyx_RefNannyFinishContext();
7829 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_6_getParamsFromEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
7830 PyObject *__pyx_r = NULL;
7831 __Pyx_RefNannyDeclarations
7832 PyObject *__pyx_t_1 = NULL;
7833 int __pyx_lineno = 0;
7834 const char *__pyx_filename = NULL;
7835 int __pyx_clineno = 0;
7836 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
7845 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__26, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7846 __Pyx_GOTREF(__pyx_t_1);
7847 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
7848 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7849 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7861 __Pyx_XDECREF(__pyx_t_1);
7862 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
7864 __Pyx_XGIVEREF(__pyx_r);
7865 __Pyx_RefNannyFinishContext();
7878 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_9_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
7879 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_9_setParamsInEsCore(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7880 PyObject *__pyx_r = 0;
7881 __Pyx_RefNannyDeclarations
7882 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
7883 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_8_setParamsInEsCore(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
7886 __Pyx_RefNannyFinishContext();
7890 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_8_setParamsInEsCore(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
7891 PyObject *__pyx_r = NULL;
7892 __Pyx_RefNannyDeclarations
7893 PyObject *__pyx_t_1 = NULL;
7894 int __pyx_lineno = 0;
7895 const char *__pyx_filename = NULL;
7896 int __pyx_clineno = 0;
7897 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
7906 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__27, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7907 __Pyx_GOTREF(__pyx_t_1);
7908 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
7909 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7910 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7922 __Pyx_XDECREF(__pyx_t_1);
7923 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
7925 __Pyx_XGIVEREF(__pyx_r);
7926 __Pyx_RefNannyFinishContext();
7939 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_11setDefaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
7940 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_11setDefaultParams(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
7941 PyObject *__pyx_r = 0;
7942 __Pyx_RefNannyDeclarations
7943 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
7944 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_10setDefaultParams(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
7947 __Pyx_RefNannyFinishContext();
7951 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_10setDefaultParams(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
7952 PyObject *__pyx_r = NULL;
7953 __Pyx_RefNannyDeclarations
7954 PyObject *__pyx_t_1 = NULL;
7955 int __pyx_lineno = 0;
7956 const char *__pyx_filename = NULL;
7957 int __pyx_clineno = 0;
7958 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
7967 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__28, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7968 __Pyx_GOTREF(__pyx_t_1);
7969 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
7970 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7971 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
7983 __Pyx_XDECREF(__pyx_t_1);
7984 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
7986 __Pyx_XGIVEREF(__pyx_r);
7987 __Pyx_RefNannyFinishContext();
8000 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_13typeNumber(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
8001 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_13typeNumber(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
8002 PyObject *__pyx_r = 0;
8003 __Pyx_RefNannyDeclarations
8004 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
8005 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_12typeNumber(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
8008 __Pyx_RefNannyFinishContext();
8012 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_12typeNumber(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
8013 PyObject *__pyx_r = NULL;
8014 __Pyx_RefNannyDeclarations
8015 PyObject *__pyx_t_1 = NULL;
8016 int __pyx_lineno = 0;
8017 const char *__pyx_filename = NULL;
8018 int __pyx_clineno = 0;
8019 __Pyx_RefNannySetupContext(
"typeNumber", 0);
8028 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__29, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8029 __Pyx_GOTREF(__pyx_t_1);
8030 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
8031 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8032 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8044 __Pyx_XDECREF(__pyx_t_1);
8045 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.typeNumber", __pyx_clineno, __pyx_lineno, __pyx_filename);
8047 __Pyx_XGIVEREF(__pyx_r);
8048 __Pyx_RefNannyFinishContext();
8061 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_15typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
8062 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_15typeName(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
8063 PyObject *__pyx_r = 0;
8064 __Pyx_RefNannyDeclarations
8065 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
8066 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_14typeName(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
8069 __Pyx_RefNannyFinishContext();
8073 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_14typeName(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
8074 PyObject *__pyx_r = NULL;
8075 __Pyx_RefNannyDeclarations
8076 PyObject *__pyx_t_1 = NULL;
8077 int __pyx_lineno = 0;
8078 const char *__pyx_filename = NULL;
8079 int __pyx_clineno = 0;
8080 __Pyx_RefNannySetupContext(
"typeName", 0);
8089 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__30, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8090 __Pyx_GOTREF(__pyx_t_1);
8091 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
8092 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8093 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8105 __Pyx_XDECREF(__pyx_t_1);
8106 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.typeName", __pyx_clineno, __pyx_lineno, __pyx_filename);
8108 __Pyx_XGIVEREF(__pyx_r);
8109 __Pyx_RefNannyFinishContext();
8122 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_17validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
8123 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_17validKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
8124 PyObject *__pyx_r = 0;
8125 __Pyx_RefNannyDeclarations
8126 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
8127 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_16validKeys(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
8130 __Pyx_RefNannyFinishContext();
8134 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_16validKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
8135 PyObject *__pyx_r = NULL;
8136 __Pyx_RefNannyDeclarations
8137 PyObject *__pyx_t_1 = NULL;
8138 int __pyx_lineno = 0;
8139 const char *__pyx_filename = NULL;
8140 int __pyx_clineno = 0;
8141 __Pyx_RefNannySetupContext(
"validKeys", 0);
8150 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__31, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8151 __Pyx_GOTREF(__pyx_t_1);
8152 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
8153 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8154 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8166 __Pyx_XDECREF(__pyx_t_1);
8167 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.validKeys", __pyx_clineno, __pyx_lineno, __pyx_filename);
8169 __Pyx_XGIVEREF(__pyx_r);
8170 __Pyx_RefNannyFinishContext();
8183 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_19requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused);
8184 static PyObject *__pyx_pw_10espressomd_12interactions_17BondedInteraction_19requiredKeys(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
8185 PyObject *__pyx_r = 0;
8186 __Pyx_RefNannyDeclarations
8187 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
8188 __pyx_r = __pyx_pf_10espressomd_12interactions_17BondedInteraction_18requiredKeys(((
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *)__pyx_v_self));
8191 __Pyx_RefNannyFinishContext();
8195 static PyObject *__pyx_pf_10espressomd_12interactions_17BondedInteraction_18requiredKeys(CYTHON_UNUSED
struct __pyx_obj_10espressomd_12interactions_BondedInteraction *__pyx_v_self) {
8196 PyObject *__pyx_r = NULL;
8197 __Pyx_RefNannyDeclarations
8198 PyObject *__pyx_t_1 = NULL;
8199 int __pyx_lineno = 0;
8200 const char *__pyx_filename = NULL;
8201 int __pyx_clineno = 0;
8202 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
8211 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_tuple__32, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8212 __Pyx_GOTREF(__pyx_t_1);
8213 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
8214 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8215 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8227 __Pyx_XDECREF(__pyx_t_1);
8228 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteraction.requiredKeys", __pyx_clineno, __pyx_lineno, __pyx_filename);
8230 __Pyx_XGIVEREF(__pyx_r);
8231 __Pyx_RefNannyFinishContext();
8244 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
8245 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_1__init__ = {
"__init__", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_1__init__, METH_VARARGS|METH_KEYWORDS, 0};
8246 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
8247 PyObject *__pyx_v_self = 0;
8248 CYTHON_UNUSED PyObject *__pyx_v_args = 0;
8249 CYTHON_UNUSED PyObject *__pyx_v_kwargs = 0;
8250 int __pyx_lineno = 0;
8251 const char *__pyx_filename = NULL;
8252 int __pyx_clineno = 0;
8253 PyObject *__pyx_r = 0;
8254 __Pyx_RefNannyDeclarations
8255 __Pyx_RefNannySetupContext(
"__init__ (wrapper)", 0);
8256 __pyx_v_kwargs = PyDict_New();
if (unlikely(!__pyx_v_kwargs))
return NULL;
8257 __Pyx_GOTREF(__pyx_v_kwargs);
8258 if (PyTuple_GET_SIZE(__pyx_args) > 1) {
8259 __pyx_v_args = PyTuple_GetSlice(__pyx_args, 1, PyTuple_GET_SIZE(__pyx_args));
8260 if (unlikely(!__pyx_v_args)) {
8261 __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
8262 __Pyx_RefNannyFinishContext();
8265 __Pyx_GOTREF(__pyx_v_args);
8267 __pyx_v_args = __pyx_empty_tuple; __Pyx_INCREF(__pyx_empty_tuple);
8270 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,0};
8271 PyObject* values[1] = {0};
8272 if (unlikely(__pyx_kwds)) {
8274 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
8277 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
8280 kw_args = PyDict_Size(__pyx_kwds);
8283 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
8284 else goto __pyx_L5_argtuple_error;
8286 if (unlikely(kw_args > 0)) {
8287 const Py_ssize_t used_pos_args = (pos_args < 1) ? pos_args : 1;
8288 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args,
"__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
8290 }
else if (PyTuple_GET_SIZE(__pyx_args) < 1) {
8291 goto __pyx_L5_argtuple_error;
8293 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
8295 __pyx_v_self = values[0];
8297 goto __pyx_L4_argument_unpacking_done;
8298 __pyx_L5_argtuple_error:;
8299 __Pyx_RaiseArgtupleInvalid(
"__init__", 0, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
8301 __Pyx_DECREF(__pyx_v_args); __pyx_v_args = 0;
8302 __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
8303 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8304 __Pyx_RefNannyFinishContext();
8306 __pyx_L4_argument_unpacking_done:;
8307 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined___init__(__pyx_self, __pyx_v_self, __pyx_v_args, __pyx_v_kwargs);
8310 __Pyx_XDECREF(__pyx_v_args);
8311 __Pyx_XDECREF(__pyx_v_kwargs);
8312 __Pyx_RefNannyFinishContext();
8316 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs) {
8317 PyObject *__pyx_r = NULL;
8318 __Pyx_RefNannyDeclarations
8319 PyObject *__pyx_t_1 = NULL;
8320 PyObject *__pyx_t_2 = NULL;
8321 int __pyx_lineno = 0;
8322 const char *__pyx_filename = NULL;
8323 int __pyx_clineno = 0;
8324 __Pyx_RefNannySetupContext(
"__init__", 0);
8333 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_class_s);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8334 __Pyx_GOTREF(__pyx_t_1);
8335 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_name);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8336 __Pyx_GOTREF(__pyx_t_2);
8337 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8338 __pyx_t_1 = PyNumber_Add(__pyx_t_2, __pyx_kp_s_not_compiled_into_Espresso_core);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8339 __Pyx_GOTREF(__pyx_t_1);
8340 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8349 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8350 __Pyx_GOTREF(__pyx_t_2);
8351 PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
8352 __Pyx_GIVEREF(__pyx_t_1);
8354 __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_2, NULL);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8355 __Pyx_GOTREF(__pyx_t_1);
8356 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8357 __Pyx_Raise(__pyx_t_1, 0, 0, 0);
8358 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8359 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8371 __Pyx_XDECREF(__pyx_t_1);
8372 __Pyx_XDECREF(__pyx_t_2);
8373 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
8375 __Pyx_XGIVEREF(__pyx_r);
8376 __Pyx_RefNannyFinishContext();
8389 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_3typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
8390 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_3typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_3typeNumber, METH_O, 0};
8391 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_3typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8392 PyObject *__pyx_r = 0;
8393 __Pyx_RefNannyDeclarations
8394 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
8395 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_2typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
8398 __Pyx_RefNannyFinishContext();
8402 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_2typeNumber(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8403 PyObject *__pyx_r = NULL;
8404 __Pyx_RefNannyDeclarations
8405 PyObject *__pyx_t_1 = NULL;
8406 PyObject *__pyx_t_2 = NULL;
8407 int __pyx_lineno = 0;
8408 const char *__pyx_filename = NULL;
8409 int __pyx_clineno = 0;
8410 __Pyx_RefNannySetupContext(
"typeNumber", 0);
8419 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8420 __Pyx_GOTREF(__pyx_t_1);
8421 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8422 __Pyx_GOTREF(__pyx_t_2);
8423 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8424 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8425 __Pyx_GOTREF(__pyx_t_1);
8426 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8427 __Pyx_GIVEREF(__pyx_t_2);
8429 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8430 __Pyx_GOTREF(__pyx_t_2);
8431 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8432 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8433 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8434 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 455; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8446 __Pyx_XDECREF(__pyx_t_1);
8447 __Pyx_XDECREF(__pyx_t_2);
8448 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.typeNumber", __pyx_clineno, __pyx_lineno, __pyx_filename);
8450 __Pyx_XGIVEREF(__pyx_r);
8451 __Pyx_RefNannyFinishContext();
8464 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_5typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
8465 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_5typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_5typeName, METH_O, 0};
8466 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_5typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8467 PyObject *__pyx_r = 0;
8468 __Pyx_RefNannyDeclarations
8469 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
8470 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_4typeName(__pyx_self, ((PyObject *)__pyx_v_self));
8473 __Pyx_RefNannyFinishContext();
8477 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_4typeName(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8478 PyObject *__pyx_r = NULL;
8479 __Pyx_RefNannyDeclarations
8480 PyObject *__pyx_t_1 = NULL;
8481 PyObject *__pyx_t_2 = NULL;
8482 int __pyx_lineno = 0;
8483 const char *__pyx_filename = NULL;
8484 int __pyx_clineno = 0;
8485 __Pyx_RefNannySetupContext(
"typeName", 0);
8494 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8495 __Pyx_GOTREF(__pyx_t_1);
8496 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8497 __Pyx_GOTREF(__pyx_t_2);
8498 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8499 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8500 __Pyx_GOTREF(__pyx_t_1);
8501 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8502 __Pyx_GIVEREF(__pyx_t_2);
8504 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8505 __Pyx_GOTREF(__pyx_t_2);
8506 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8507 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8508 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8509 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8521 __Pyx_XDECREF(__pyx_t_1);
8522 __Pyx_XDECREF(__pyx_t_2);
8523 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.typeName", __pyx_clineno, __pyx_lineno, __pyx_filename);
8525 __Pyx_XGIVEREF(__pyx_r);
8526 __Pyx_RefNannyFinishContext();
8539 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_7validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
8540 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_7validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_7validKeys, METH_O, 0};
8541 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_7validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8542 PyObject *__pyx_r = 0;
8543 __Pyx_RefNannyDeclarations
8544 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
8545 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_6validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
8548 __Pyx_RefNannyFinishContext();
8552 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_6validKeys(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8553 PyObject *__pyx_r = NULL;
8554 __Pyx_RefNannyDeclarations
8555 PyObject *__pyx_t_1 = NULL;
8556 PyObject *__pyx_t_2 = NULL;
8557 int __pyx_lineno = 0;
8558 const char *__pyx_filename = NULL;
8559 int __pyx_clineno = 0;
8560 __Pyx_RefNannySetupContext(
"validKeys", 0);
8569 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8570 __Pyx_GOTREF(__pyx_t_1);
8571 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8572 __Pyx_GOTREF(__pyx_t_2);
8573 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8574 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8575 __Pyx_GOTREF(__pyx_t_1);
8576 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8577 __Pyx_GIVEREF(__pyx_t_2);
8579 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8580 __Pyx_GOTREF(__pyx_t_2);
8581 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8582 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8583 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8584 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 461; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8596 __Pyx_XDECREF(__pyx_t_1);
8597 __Pyx_XDECREF(__pyx_t_2);
8598 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.validKeys", __pyx_clineno, __pyx_lineno, __pyx_filename);
8600 __Pyx_XGIVEREF(__pyx_r);
8601 __Pyx_RefNannyFinishContext();
8614 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_9requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
8615 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_9requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_9requiredKeys, METH_O, 0};
8616 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_9requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8617 PyObject *__pyx_r = 0;
8618 __Pyx_RefNannyDeclarations
8619 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
8620 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_8requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
8623 __Pyx_RefNannyFinishContext();
8627 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_8requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8628 PyObject *__pyx_r = NULL;
8629 __Pyx_RefNannyDeclarations
8630 PyObject *__pyx_t_1 = NULL;
8631 PyObject *__pyx_t_2 = NULL;
8632 int __pyx_lineno = 0;
8633 const char *__pyx_filename = NULL;
8634 int __pyx_clineno = 0;
8635 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
8644 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8645 __Pyx_GOTREF(__pyx_t_1);
8646 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8647 __Pyx_GOTREF(__pyx_t_2);
8648 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8649 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8650 __Pyx_GOTREF(__pyx_t_1);
8651 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8652 __Pyx_GIVEREF(__pyx_t_2);
8654 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8655 __Pyx_GOTREF(__pyx_t_2);
8656 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8657 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8658 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8659 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8671 __Pyx_XDECREF(__pyx_t_1);
8672 __Pyx_XDECREF(__pyx_t_2);
8673 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.requiredKeys", __pyx_clineno, __pyx_lineno, __pyx_filename);
8675 __Pyx_XGIVEREF(__pyx_r);
8676 __Pyx_RefNannyFinishContext();
8689 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_11setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
8690 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_11setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_11setDefaultParams, METH_O, 0};
8691 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_11setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8692 PyObject *__pyx_r = 0;
8693 __Pyx_RefNannyDeclarations
8694 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
8695 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_10setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
8698 __Pyx_RefNannyFinishContext();
8702 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_10setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8703 PyObject *__pyx_r = NULL;
8704 __Pyx_RefNannyDeclarations
8705 PyObject *__pyx_t_1 = NULL;
8706 PyObject *__pyx_t_2 = NULL;
8707 int __pyx_lineno = 0;
8708 const char *__pyx_filename = NULL;
8709 int __pyx_clineno = 0;
8710 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
8719 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8720 __Pyx_GOTREF(__pyx_t_1);
8721 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8722 __Pyx_GOTREF(__pyx_t_2);
8723 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8724 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8725 __Pyx_GOTREF(__pyx_t_1);
8726 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8727 __Pyx_GIVEREF(__pyx_t_2);
8729 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8730 __Pyx_GOTREF(__pyx_t_2);
8731 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8732 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8733 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8734 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8746 __Pyx_XDECREF(__pyx_t_1);
8747 __Pyx_XDECREF(__pyx_t_2);
8748 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
8750 __Pyx_XGIVEREF(__pyx_r);
8751 __Pyx_RefNannyFinishContext();
8764 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_13_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
8765 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_13_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_13_getParamsFromEsCore, METH_O, 0};
8766 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_13_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8767 PyObject *__pyx_r = 0;
8768 __Pyx_RefNannyDeclarations
8769 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
8770 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_12_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
8773 __Pyx_RefNannyFinishContext();
8777 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_12_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8778 PyObject *__pyx_r = NULL;
8779 __Pyx_RefNannyDeclarations
8780 PyObject *__pyx_t_1 = NULL;
8781 PyObject *__pyx_t_2 = NULL;
8782 int __pyx_lineno = 0;
8783 const char *__pyx_filename = NULL;
8784 int __pyx_clineno = 0;
8785 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
8794 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8795 __Pyx_GOTREF(__pyx_t_1);
8796 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8797 __Pyx_GOTREF(__pyx_t_2);
8798 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8799 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8800 __Pyx_GOTREF(__pyx_t_1);
8801 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8802 __Pyx_GIVEREF(__pyx_t_2);
8804 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8805 __Pyx_GOTREF(__pyx_t_2);
8806 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8807 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8808 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8809 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8821 __Pyx_XDECREF(__pyx_t_1);
8822 __Pyx_XDECREF(__pyx_t_2);
8823 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
8825 __Pyx_XGIVEREF(__pyx_r);
8826 __Pyx_RefNannyFinishContext();
8839 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_15_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
8840 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_15_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_15_setParamsInEsCore, METH_O, 0};
8841 static PyObject *__pyx_pw_10espressomd_12interactions_27BondedInteractionNotDefined_15_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8842 PyObject *__pyx_r = 0;
8843 __Pyx_RefNannyDeclarations
8844 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
8845 __pyx_r = __pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_14_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
8848 __Pyx_RefNannyFinishContext();
8852 static PyObject *__pyx_pf_10espressomd_12interactions_27BondedInteractionNotDefined_14_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
8853 PyObject *__pyx_r = NULL;
8854 __Pyx_RefNannyDeclarations
8855 PyObject *__pyx_t_1 = NULL;
8856 PyObject *__pyx_t_2 = NULL;
8857 int __pyx_lineno = 0;
8858 const char *__pyx_filename = NULL;
8859 int __pyx_clineno = 0;
8860 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
8869 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8870 __Pyx_GOTREF(__pyx_t_1);
8871 __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8872 __Pyx_GOTREF(__pyx_t_2);
8873 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8874 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8875 __Pyx_GOTREF(__pyx_t_1);
8876 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
8877 __Pyx_GIVEREF(__pyx_t_2);
8879 __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_Exception, __pyx_t_1, NULL);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8880 __Pyx_GOTREF(__pyx_t_2);
8881 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
8882 __Pyx_Raise(__pyx_t_2, 0, 0, 0);
8883 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8884 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
8896 __Pyx_XDECREF(__pyx_t_1);
8897 __Pyx_XDECREF(__pyx_t_2);
8898 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractionNotDefined._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
8900 __Pyx_XGIVEREF(__pyx_r);
8901 __Pyx_RefNannyFinishContext();
8914 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
8915 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_1typeNumber, METH_O, 0};
8916 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8917 PyObject *__pyx_r = 0;
8918 __Pyx_RefNannyDeclarations
8919 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
8920 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
8923 __Pyx_RefNannyFinishContext();
8927 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
8928 PyObject *__pyx_r = NULL;
8929 __Pyx_RefNannyDeclarations
8930 __Pyx_RefNannySetupContext(
"typeNumber", 0);
8939 __Pyx_XDECREF(__pyx_r);
8940 __Pyx_INCREF(__pyx_int_0);
8941 __pyx_r = __pyx_int_0;
8954 __Pyx_XGIVEREF(__pyx_r);
8955 __Pyx_RefNannyFinishContext();
8968 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
8969 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_3typeName, METH_O, 0};
8970 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
8971 PyObject *__pyx_r = 0;
8972 __Pyx_RefNannyDeclarations
8973 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
8974 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
8977 __Pyx_RefNannyFinishContext();
8981 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
8982 PyObject *__pyx_r = NULL;
8983 __Pyx_RefNannyDeclarations
8984 __Pyx_RefNannySetupContext(
"typeName", 0);
8993 __Pyx_XDECREF(__pyx_r);
8994 __Pyx_INCREF(__pyx_n_s_FENE);
8995 __pyx_r = __pyx_n_s_FENE;
9008 __Pyx_XGIVEREF(__pyx_r);
9009 __Pyx_RefNannyFinishContext();
9022 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
9023 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_5validKeys, METH_O, 0};
9024 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9025 PyObject *__pyx_r = 0;
9026 __Pyx_RefNannyDeclarations
9027 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
9028 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
9031 __Pyx_RefNannyFinishContext();
9035 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9036 PyObject *__pyx_r = NULL;
9037 __Pyx_RefNannyDeclarations
9038 __Pyx_RefNannySetupContext(
"validKeys", 0);
9047 __Pyx_XDECREF(__pyx_r);
9048 __Pyx_INCREF(__pyx_tuple__33);
9049 __pyx_r = __pyx_tuple__33;
9062 __Pyx_XGIVEREF(__pyx_r);
9063 __Pyx_RefNannyFinishContext();
9076 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
9077 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_7requiredKeys, METH_O, 0};
9078 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9079 PyObject *__pyx_r = 0;
9080 __Pyx_RefNannyDeclarations
9081 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
9082 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
9085 __Pyx_RefNannyFinishContext();
9089 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9090 PyObject *__pyx_r = NULL;
9091 __Pyx_RefNannyDeclarations
9092 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
9101 __Pyx_XDECREF(__pyx_r);
9102 __Pyx_INCREF(__pyx_tuple__34);
9103 __pyx_r = __pyx_tuple__34;
9116 __Pyx_XGIVEREF(__pyx_r);
9117 __Pyx_RefNannyFinishContext();
9130 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
9131 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_9setDefaultParams, METH_O, 0};
9132 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9133 PyObject *__pyx_r = 0;
9134 __Pyx_RefNannyDeclarations
9135 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
9136 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
9139 __Pyx_RefNannyFinishContext();
9143 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
9144 PyObject *__pyx_r = NULL;
9145 __Pyx_RefNannyDeclarations
9146 PyObject *__pyx_t_1 = NULL;
9147 int __pyx_lineno = 0;
9148 const char *__pyx_filename = NULL;
9149 int __pyx_clineno = 0;
9150 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
9159 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 491; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9160 __Pyx_GOTREF(__pyx_t_1);
9161 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_0, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 491; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9162 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 491; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9163 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9174 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
9177 __Pyx_XDECREF(__pyx_t_1);
9178 __Pyx_AddTraceback(
"espressomd.interactions.FeneBond.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
9181 __Pyx_XGIVEREF(__pyx_r);
9182 __Pyx_RefNannyFinishContext();
9195 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
9196 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_11_getParamsFromEsCore, METH_O, 0};
9197 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9198 PyObject *__pyx_r = 0;
9199 __Pyx_RefNannyDeclarations
9200 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
9201 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
9204 __Pyx_RefNannyFinishContext();
9208 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
9209 PyObject *__pyx_r = NULL;
9210 __Pyx_RefNannyDeclarations
9211 PyObject *__pyx_t_1 = NULL;
9212 PyObject *__pyx_t_2 = NULL;
9213 Py_ssize_t __pyx_t_3;
9214 int __pyx_lineno = 0;
9215 const char *__pyx_filename = NULL;
9216 int __pyx_clineno = 0;
9217 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
9226 __Pyx_XDECREF(__pyx_r);
9235 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9236 __Pyx_GOTREF(__pyx_t_1);
9237 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9238 __Pyx_GOTREF(__pyx_t_2);
9239 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9240 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9241 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.fene.k);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9242 __Pyx_GOTREF(__pyx_t_2);
9243 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_k, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9244 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9253 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 497; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9254 __Pyx_GOTREF(__pyx_t_2);
9255 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 497; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9256 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9257 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.fene.drmax);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 497; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9258 __Pyx_GOTREF(__pyx_t_2);
9259 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_d_r_max, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9260 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9269 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9270 __Pyx_GOTREF(__pyx_t_2);
9271 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9272 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9273 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.fene.r0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9274 __Pyx_GOTREF(__pyx_t_2);
9275 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 496; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9276 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9277 __pyx_r = __pyx_t_1;
9291 __Pyx_XDECREF(__pyx_t_1);
9292 __Pyx_XDECREF(__pyx_t_2);
9293 __Pyx_AddTraceback(
"espressomd.interactions.FeneBond._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
9296 __Pyx_XGIVEREF(__pyx_r);
9297 __Pyx_RefNannyFinishContext();
9310 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
9311 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8FeneBond_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_8FeneBond_13_setParamsInEsCore, METH_O, 0};
9312 static PyObject *__pyx_pw_10espressomd_12interactions_8FeneBond_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9313 PyObject *__pyx_r = 0;
9314 __Pyx_RefNannyDeclarations
9315 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
9316 __pyx_r = __pyx_pf_10espressomd_12interactions_8FeneBond_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
9319 __Pyx_RefNannyFinishContext();
9323 static PyObject *__pyx_pf_10espressomd_12interactions_8FeneBond_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
9324 PyObject *__pyx_r = NULL;
9325 __Pyx_RefNannyDeclarations
9326 PyObject *__pyx_t_1 = NULL;
9328 PyObject *__pyx_t_3 = NULL;
9332 int __pyx_lineno = 0;
9333 const char *__pyx_filename = NULL;
9334 int __pyx_clineno = 0;
9335 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
9344 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9345 __Pyx_GOTREF(__pyx_t_1);
9346 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9347 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9348 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9349 __Pyx_GOTREF(__pyx_t_1);
9350 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_k);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
9351 __Pyx_GOTREF(__pyx_t_3);
9352 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9353 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9354 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9355 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9356 __Pyx_GOTREF(__pyx_t_3);
9357 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_d_r_max);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
9358 __Pyx_GOTREF(__pyx_t_1);
9359 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9360 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9361 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9362 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9363 __Pyx_GOTREF(__pyx_t_1);
9364 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_r_0);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
9365 __Pyx_GOTREF(__pyx_t_3);
9366 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9367 __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_6 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 502; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9368 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9388 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
9391 __Pyx_XDECREF(__pyx_t_1);
9392 __Pyx_XDECREF(__pyx_t_3);
9393 __Pyx_AddTraceback(
"espressomd.interactions.FeneBond._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
9396 __Pyx_XGIVEREF(__pyx_r);
9397 __Pyx_RefNannyFinishContext();
9410 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
9411 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_1typeNumber, METH_O, 0};
9412 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9413 PyObject *__pyx_r = 0;
9414 __Pyx_RefNannyDeclarations
9415 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
9416 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
9419 __Pyx_RefNannyFinishContext();
9423 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9424 PyObject *__pyx_r = NULL;
9425 __Pyx_RefNannyDeclarations
9426 __Pyx_RefNannySetupContext(
"typeNumber", 0);
9435 __Pyx_XDECREF(__pyx_r);
9436 __Pyx_INCREF(__pyx_int_1);
9437 __pyx_r = __pyx_int_1;
9450 __Pyx_XGIVEREF(__pyx_r);
9451 __Pyx_RefNannyFinishContext();
9464 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
9465 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_3typeName, METH_O, 0};
9466 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9467 PyObject *__pyx_r = 0;
9468 __Pyx_RefNannyDeclarations
9469 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
9470 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
9473 __Pyx_RefNannyFinishContext();
9477 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9478 PyObject *__pyx_r = NULL;
9479 __Pyx_RefNannyDeclarations
9480 __Pyx_RefNannySetupContext(
"typeName", 0);
9489 __Pyx_XDECREF(__pyx_r);
9490 __Pyx_INCREF(__pyx_n_s_HARMONIC);
9491 __pyx_r = __pyx_n_s_HARMONIC;
9504 __Pyx_XGIVEREF(__pyx_r);
9505 __Pyx_RefNannyFinishContext();
9518 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
9519 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_5validKeys, METH_O, 0};
9520 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9521 PyObject *__pyx_r = 0;
9522 __Pyx_RefNannyDeclarations
9523 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
9524 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
9527 __Pyx_RefNannyFinishContext();
9531 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9532 PyObject *__pyx_r = NULL;
9533 __Pyx_RefNannyDeclarations
9534 __Pyx_RefNannySetupContext(
"validKeys", 0);
9543 __Pyx_XDECREF(__pyx_r);
9544 __Pyx_INCREF(__pyx_tuple__35);
9545 __pyx_r = __pyx_tuple__35;
9558 __Pyx_XGIVEREF(__pyx_r);
9559 __Pyx_RefNannyFinishContext();
9572 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
9573 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_7requiredKeys, METH_O, 0};
9574 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9575 PyObject *__pyx_r = 0;
9576 __Pyx_RefNannyDeclarations
9577 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
9578 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
9581 __Pyx_RefNannyFinishContext();
9585 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9586 PyObject *__pyx_r = NULL;
9587 __Pyx_RefNannyDeclarations
9588 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
9597 __Pyx_XDECREF(__pyx_r);
9598 __Pyx_INCREF(__pyx_tuple__36);
9599 __pyx_r = __pyx_tuple__36;
9612 __Pyx_XGIVEREF(__pyx_r);
9613 __Pyx_RefNannyFinishContext();
9626 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
9627 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_9setDefaultParams, METH_O, 0};
9628 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9629 PyObject *__pyx_r = 0;
9630 __Pyx_RefNannyDeclarations
9631 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
9632 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
9635 __Pyx_RefNannyFinishContext();
9639 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
9640 PyObject *__pyx_r = NULL;
9641 __Pyx_RefNannyDeclarations
9642 PyObject *__pyx_t_1 = NULL;
9643 int __pyx_lineno = 0;
9644 const char *__pyx_filename = NULL;
9645 int __pyx_clineno = 0;
9646 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
9655 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9656 __Pyx_GOTREF(__pyx_t_1);
9657 if (PyDict_SetItem(__pyx_t_1, __pyx_kp_s_k_2, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9658 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_0, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9659 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_cut, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9660 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 520; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9661 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9672 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
9675 __Pyx_XDECREF(__pyx_t_1);
9676 __Pyx_AddTraceback(
"espressomd.interactions.HarmonicBond.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
9679 __Pyx_XGIVEREF(__pyx_r);
9680 __Pyx_RefNannyFinishContext();
9693 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
9694 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_11_getParamsFromEsCore, METH_O, 0};
9695 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9696 PyObject *__pyx_r = 0;
9697 __Pyx_RefNannyDeclarations
9698 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
9699 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
9702 __Pyx_RefNannyFinishContext();
9706 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
9707 PyObject *__pyx_r = NULL;
9708 __Pyx_RefNannyDeclarations
9709 PyObject *__pyx_t_1 = NULL;
9710 PyObject *__pyx_t_2 = NULL;
9711 Py_ssize_t __pyx_t_3;
9712 int __pyx_lineno = 0;
9713 const char *__pyx_filename = NULL;
9714 int __pyx_clineno = 0;
9715 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
9724 __Pyx_XDECREF(__pyx_r);
9733 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9734 __Pyx_GOTREF(__pyx_t_1);
9735 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9736 __Pyx_GOTREF(__pyx_t_2);
9737 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9738 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9739 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic.k);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9740 __Pyx_GOTREF(__pyx_t_2);
9741 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_k, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9742 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9751 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9752 __Pyx_GOTREF(__pyx_t_2);
9753 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9754 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9755 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic.r);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 525; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9756 __Pyx_GOTREF(__pyx_t_2);
9757 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9758 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9767 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9768 __Pyx_GOTREF(__pyx_t_2);
9769 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9770 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9771 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic.r_cut);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 526; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9772 __Pyx_GOTREF(__pyx_t_2);
9773 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_cut, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 524; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9774 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
9775 __pyx_r = __pyx_t_1;
9789 __Pyx_XDECREF(__pyx_t_1);
9790 __Pyx_XDECREF(__pyx_t_2);
9791 __Pyx_AddTraceback(
"espressomd.interactions.HarmonicBond._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
9794 __Pyx_XGIVEREF(__pyx_r);
9795 __Pyx_RefNannyFinishContext();
9808 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
9809 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12HarmonicBond_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_12HarmonicBond_13_setParamsInEsCore, METH_O, 0};
9810 static PyObject *__pyx_pw_10espressomd_12interactions_12HarmonicBond_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9811 PyObject *__pyx_r = 0;
9812 __Pyx_RefNannyDeclarations
9813 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
9814 __pyx_r = __pyx_pf_10espressomd_12interactions_12HarmonicBond_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
9817 __Pyx_RefNannyFinishContext();
9821 static PyObject *__pyx_pf_10espressomd_12interactions_12HarmonicBond_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
9822 PyObject *__pyx_r = NULL;
9823 __Pyx_RefNannyDeclarations
9824 PyObject *__pyx_t_1 = NULL;
9826 PyObject *__pyx_t_3 = NULL;
9830 int __pyx_lineno = 0;
9831 const char *__pyx_filename = NULL;
9832 int __pyx_clineno = 0;
9833 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
9842 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9843 __Pyx_GOTREF(__pyx_t_1);
9844 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9845 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9846 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9847 __Pyx_GOTREF(__pyx_t_1);
9848 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_k);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
9849 __Pyx_GOTREF(__pyx_t_3);
9850 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9851 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9852 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9853 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9854 __Pyx_GOTREF(__pyx_t_3);
9855 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_r_0);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
9856 __Pyx_GOTREF(__pyx_t_1);
9857 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9858 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9859 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9860 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9861 __Pyx_GOTREF(__pyx_t_1);
9862 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_r_cut);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
9863 __Pyx_GOTREF(__pyx_t_3);
9864 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
9865 __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_6 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 530; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
9866 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
9886 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
9889 __Pyx_XDECREF(__pyx_t_1);
9890 __Pyx_XDECREF(__pyx_t_3);
9891 __Pyx_AddTraceback(
"espressomd.interactions.HarmonicBond._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
9894 __Pyx_XGIVEREF(__pyx_r);
9895 __Pyx_RefNannyFinishContext();
9908 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
9909 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_1typeNumber, METH_O, 0};
9910 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9911 PyObject *__pyx_r = 0;
9912 __Pyx_RefNannyDeclarations
9913 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
9914 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
9917 __Pyx_RefNannyFinishContext();
9921 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9922 PyObject *__pyx_r = NULL;
9923 __Pyx_RefNannyDeclarations
9924 __Pyx_RefNannySetupContext(
"typeNumber", 0);
9933 __Pyx_XDECREF(__pyx_r);
9934 __Pyx_INCREF(__pyx_int_2);
9935 __pyx_r = __pyx_int_2;
9948 __Pyx_XGIVEREF(__pyx_r);
9949 __Pyx_RefNannyFinishContext();
9962 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
9963 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_3typeName, METH_O, 0};
9964 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
9965 PyObject *__pyx_r = 0;
9966 __Pyx_RefNannyDeclarations
9967 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
9968 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
9971 __Pyx_RefNannyFinishContext();
9975 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
9976 PyObject *__pyx_r = NULL;
9977 __Pyx_RefNannyDeclarations
9978 __Pyx_RefNannySetupContext(
"typeName", 0);
9987 __Pyx_XDECREF(__pyx_r);
9988 __Pyx_INCREF(__pyx_n_s_HARMONIC_DUMBBELL);
9989 __pyx_r = __pyx_n_s_HARMONIC_DUMBBELL;
10002 __Pyx_XGIVEREF(__pyx_r);
10003 __Pyx_RefNannyFinishContext();
10016 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
10017 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_5validKeys, METH_O, 0};
10018 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10019 PyObject *__pyx_r = 0;
10020 __Pyx_RefNannyDeclarations
10021 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
10022 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
10025 __Pyx_RefNannyFinishContext();
10029 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10030 PyObject *__pyx_r = NULL;
10031 __Pyx_RefNannyDeclarations
10032 __Pyx_RefNannySetupContext(
"validKeys", 0);
10041 __Pyx_XDECREF(__pyx_r);
10042 __Pyx_INCREF(__pyx_tuple__37);
10043 __pyx_r = __pyx_tuple__37;
10056 __Pyx_XGIVEREF(__pyx_r);
10057 __Pyx_RefNannyFinishContext();
10070 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
10071 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_7requiredKeys, METH_O, 0};
10072 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10073 PyObject *__pyx_r = 0;
10074 __Pyx_RefNannyDeclarations
10075 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
10076 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
10079 __Pyx_RefNannyFinishContext();
10083 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10084 PyObject *__pyx_r = NULL;
10085 __Pyx_RefNannyDeclarations
10086 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
10095 __Pyx_XDECREF(__pyx_r);
10096 __Pyx_INCREF(__pyx_tuple__38);
10097 __pyx_r = __pyx_tuple__38;
10110 __Pyx_XGIVEREF(__pyx_r);
10111 __Pyx_RefNannyFinishContext();
10124 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
10125 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_9setDefaultParams, METH_O, 0};
10126 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10127 PyObject *__pyx_r = 0;
10128 __Pyx_RefNannyDeclarations
10129 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
10130 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
10133 __Pyx_RefNannyFinishContext();
10137 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
10138 PyObject *__pyx_r = NULL;
10139 __Pyx_RefNannyDeclarations
10140 PyObject *__pyx_t_1 = NULL;
10141 int __pyx_lineno = 0;
10142 const char *__pyx_filename = NULL;
10143 int __pyx_clineno = 0;
10144 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
10153 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 549; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10154 __Pyx_GOTREF(__pyx_t_1);
10155 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_cut, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 549; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10156 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 549; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10157 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10168 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10171 __Pyx_XDECREF(__pyx_t_1);
10172 __Pyx_AddTraceback(
"espressomd.interactions.HarmonicDumbbellBond.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
10175 __Pyx_XGIVEREF(__pyx_r);
10176 __Pyx_RefNannyFinishContext();
10189 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
10190 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_11_getParamsFromEsCore, METH_O, 0};
10191 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10192 PyObject *__pyx_r = 0;
10193 __Pyx_RefNannyDeclarations
10194 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
10195 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
10198 __Pyx_RefNannyFinishContext();
10202 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
10203 PyObject *__pyx_r = NULL;
10204 __Pyx_RefNannyDeclarations
10205 PyObject *__pyx_t_1 = NULL;
10206 PyObject *__pyx_t_2 = NULL;
10207 Py_ssize_t __pyx_t_3;
10208 int __pyx_lineno = 0;
10209 const char *__pyx_filename = NULL;
10210 int __pyx_clineno = 0;
10211 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
10220 __Pyx_XDECREF(__pyx_r);
10229 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10230 __Pyx_GOTREF(__pyx_t_1);
10231 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10232 __Pyx_GOTREF(__pyx_t_2);
10233 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10234 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10235 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic_dumbbell.k1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10236 __Pyx_GOTREF(__pyx_t_2);
10237 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_k1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10238 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10247 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10248 __Pyx_GOTREF(__pyx_t_2);
10249 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10250 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10251 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic_dumbbell.k2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 554; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10252 __Pyx_GOTREF(__pyx_t_2);
10253 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_k2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10254 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10263 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 555; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10264 __Pyx_GOTREF(__pyx_t_2);
10265 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 555; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10266 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10267 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic_dumbbell.r);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 555; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10268 __Pyx_GOTREF(__pyx_t_2);
10269 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10270 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10279 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10280 __Pyx_GOTREF(__pyx_t_2);
10281 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10282 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10283 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.harmonic_dumbbell.r_cut);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 556; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10284 __Pyx_GOTREF(__pyx_t_2);
10285 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r_cut, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 553; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10286 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10287 __pyx_r = __pyx_t_1;
10301 __Pyx_XDECREF(__pyx_t_1);
10302 __Pyx_XDECREF(__pyx_t_2);
10303 __Pyx_AddTraceback(
"espressomd.interactions.HarmonicDumbbellBond._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
10306 __Pyx_XGIVEREF(__pyx_r);
10307 __Pyx_RefNannyFinishContext();
10320 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
10321 static PyMethodDef __pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_13_setParamsInEsCore, METH_O, 0};
10322 static PyObject *__pyx_pw_10espressomd_12interactions_20HarmonicDumbbellBond_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10323 PyObject *__pyx_r = 0;
10324 __Pyx_RefNannyDeclarations
10325 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
10326 __pyx_r = __pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
10329 __Pyx_RefNannyFinishContext();
10333 static PyObject *__pyx_pf_10espressomd_12interactions_20HarmonicDumbbellBond_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
10334 PyObject *__pyx_r = NULL;
10335 __Pyx_RefNannyDeclarations
10336 PyObject *__pyx_t_1 = NULL;
10338 PyObject *__pyx_t_3 = NULL;
10343 int __pyx_lineno = 0;
10344 const char *__pyx_filename = NULL;
10345 int __pyx_clineno = 0;
10346 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
10355 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10356 __Pyx_GOTREF(__pyx_t_1);
10357 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10358 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10359 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10360 __Pyx_GOTREF(__pyx_t_1);
10361 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_k1);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10362 __Pyx_GOTREF(__pyx_t_3);
10363 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10364 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10365 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10366 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10367 __Pyx_GOTREF(__pyx_t_3);
10368 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_k2);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10369 __Pyx_GOTREF(__pyx_t_1);
10370 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10371 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 560; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10372 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10381 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10382 __Pyx_GOTREF(__pyx_t_1);
10383 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_r_0);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10384 __Pyx_GOTREF(__pyx_t_3);
10385 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10386 __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_6 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10387 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10388 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10389 __Pyx_GOTREF(__pyx_t_3);
10390 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_r_cut);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10391 __Pyx_GOTREF(__pyx_t_1);
10392 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10393 __pyx_t_7 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_7 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 561; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10394 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10414 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10417 __Pyx_XDECREF(__pyx_t_1);
10418 __Pyx_XDECREF(__pyx_t_3);
10419 __Pyx_AddTraceback(
"espressomd.interactions.HarmonicDumbbellBond._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
10422 __Pyx_XGIVEREF(__pyx_r);
10423 __Pyx_RefNannyFinishContext();
10436 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
10437 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_1typeNumber, METH_O, 0};
10438 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10439 PyObject *__pyx_r = 0;
10440 __Pyx_RefNannyDeclarations
10441 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
10442 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
10445 __Pyx_RefNannyFinishContext();
10449 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10450 PyObject *__pyx_r = NULL;
10451 __Pyx_RefNannyDeclarations
10452 __Pyx_RefNannySetupContext(
"typeNumber", 0);
10461 __Pyx_XDECREF(__pyx_r);
10462 __Pyx_INCREF(__pyx_int_5);
10463 __pyx_r = __pyx_int_5;
10476 __Pyx_XGIVEREF(__pyx_r);
10477 __Pyx_RefNannyFinishContext();
10490 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
10491 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_3typeName, METH_O, 0};
10492 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10493 PyObject *__pyx_r = 0;
10494 __Pyx_RefNannyDeclarations
10495 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
10496 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
10499 __Pyx_RefNannyFinishContext();
10503 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10504 PyObject *__pyx_r = NULL;
10505 __Pyx_RefNannyDeclarations
10506 __Pyx_RefNannySetupContext(
"typeName", 0);
10515 __Pyx_XDECREF(__pyx_r);
10516 __Pyx_INCREF(__pyx_n_s_DIHEDRAL);
10517 __pyx_r = __pyx_n_s_DIHEDRAL;
10530 __Pyx_XGIVEREF(__pyx_r);
10531 __Pyx_RefNannyFinishContext();
10544 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
10545 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_5validKeys, METH_O, 0};
10546 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10547 PyObject *__pyx_r = 0;
10548 __Pyx_RefNannyDeclarations
10549 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
10550 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
10553 __Pyx_RefNannyFinishContext();
10557 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10558 PyObject *__pyx_r = NULL;
10559 __Pyx_RefNannyDeclarations
10560 __Pyx_RefNannySetupContext(
"validKeys", 0);
10569 __Pyx_XDECREF(__pyx_r);
10570 __Pyx_INCREF(__pyx_tuple__39);
10571 __pyx_r = __pyx_tuple__39;
10584 __Pyx_XGIVEREF(__pyx_r);
10585 __Pyx_RefNannyFinishContext();
10598 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
10599 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_7requiredKeys, METH_O, 0};
10600 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10601 PyObject *__pyx_r = 0;
10602 __Pyx_RefNannyDeclarations
10603 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
10604 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
10607 __Pyx_RefNannyFinishContext();
10611 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10612 PyObject *__pyx_r = NULL;
10613 __Pyx_RefNannyDeclarations
10614 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
10623 __Pyx_XDECREF(__pyx_r);
10624 __Pyx_INCREF(__pyx_tuple__40);
10625 __pyx_r = __pyx_tuple__40;
10638 __Pyx_XGIVEREF(__pyx_r);
10639 __Pyx_RefNannyFinishContext();
10652 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
10653 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_9setDefaultParams, METH_O, 0};
10654 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10655 PyObject *__pyx_r = 0;
10656 __Pyx_RefNannyDeclarations
10657 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
10658 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
10661 __Pyx_RefNannyFinishContext();
10665 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
10666 PyObject *__pyx_r = NULL;
10667 __Pyx_RefNannyDeclarations
10668 PyObject *__pyx_t_1 = NULL;
10669 int __pyx_lineno = 0;
10670 const char *__pyx_filename = NULL;
10671 int __pyx_clineno = 0;
10672 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
10681 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 642; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10682 __Pyx_GOTREF(__pyx_t_1);
10683 if (PyDict_SetItem(__pyx_t_1, __pyx_kp_s_mult_2, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 642; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10684 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 642; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10685 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phase, __pyx_float_0_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 642; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10686 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 642; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10687 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10698 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10701 __Pyx_XDECREF(__pyx_t_1);
10702 __Pyx_AddTraceback(
"espressomd.interactions.Dihedral.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
10705 __Pyx_XGIVEREF(__pyx_r);
10706 __Pyx_RefNannyFinishContext();
10719 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
10720 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_11_getParamsFromEsCore, METH_O, 0};
10721 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10722 PyObject *__pyx_r = 0;
10723 __Pyx_RefNannyDeclarations
10724 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
10725 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
10728 __Pyx_RefNannyFinishContext();
10732 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
10733 PyObject *__pyx_r = NULL;
10734 __Pyx_RefNannyDeclarations
10735 PyObject *__pyx_t_1 = NULL;
10736 PyObject *__pyx_t_2 = NULL;
10737 Py_ssize_t __pyx_t_3;
10738 int __pyx_lineno = 0;
10739 const char *__pyx_filename = NULL;
10740 int __pyx_clineno = 0;
10741 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
10750 __Pyx_XDECREF(__pyx_r);
10759 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10760 __Pyx_GOTREF(__pyx_t_1);
10761 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10762 __Pyx_GOTREF(__pyx_t_2);
10763 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10764 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10765 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.dihedral.mult);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10766 __Pyx_GOTREF(__pyx_t_2);
10767 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_mult, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10768 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10777 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10778 __Pyx_GOTREF(__pyx_t_2);
10779 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10780 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10781 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.dihedral.bend);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 647; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10782 __Pyx_GOTREF(__pyx_t_2);
10783 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10784 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10793 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10794 __Pyx_GOTREF(__pyx_t_2);
10795 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10796 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10797 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.dihedral.phase);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 648; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10798 __Pyx_GOTREF(__pyx_t_2);
10799 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phase, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 646; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10800 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
10801 __pyx_r = __pyx_t_1;
10815 __Pyx_XDECREF(__pyx_t_1);
10816 __Pyx_XDECREF(__pyx_t_2);
10817 __Pyx_AddTraceback(
"espressomd.interactions.Dihedral._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
10820 __Pyx_XGIVEREF(__pyx_r);
10821 __Pyx_RefNannyFinishContext();
10834 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
10835 static PyMethodDef __pyx_mdef_10espressomd_12interactions_8Dihedral_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_8Dihedral_13_setParamsInEsCore, METH_O, 0};
10836 static PyObject *__pyx_pw_10espressomd_12interactions_8Dihedral_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10837 PyObject *__pyx_r = 0;
10838 __Pyx_RefNannyDeclarations
10839 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
10840 __pyx_r = __pyx_pf_10espressomd_12interactions_8Dihedral_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
10843 __Pyx_RefNannyFinishContext();
10847 static PyObject *__pyx_pf_10espressomd_12interactions_8Dihedral_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
10848 PyObject *__pyx_r = NULL;
10849 __Pyx_RefNannyDeclarations
10850 PyObject *__pyx_t_1 = NULL;
10852 PyObject *__pyx_t_3 = NULL;
10856 int __pyx_lineno = 0;
10857 const char *__pyx_filename = NULL;
10858 int __pyx_clineno = 0;
10859 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
10868 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10869 __Pyx_GOTREF(__pyx_t_1);
10870 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10871 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10872 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10873 __Pyx_GOTREF(__pyx_t_1);
10874 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_mult);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10875 __Pyx_GOTREF(__pyx_t_3);
10876 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10877 __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10878 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10879 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10880 __Pyx_GOTREF(__pyx_t_3);
10881 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_bend);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10882 __Pyx_GOTREF(__pyx_t_1);
10883 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10884 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10885 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10886 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10887 __Pyx_GOTREF(__pyx_t_1);
10888 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_phase);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
10889 __Pyx_GOTREF(__pyx_t_3);
10890 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
10891 __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_6 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 652; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
10892 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
10912 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
10915 __Pyx_XDECREF(__pyx_t_1);
10916 __Pyx_XDECREF(__pyx_t_3);
10917 __Pyx_AddTraceback(
"espressomd.interactions.Dihedral._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
10920 __Pyx_XGIVEREF(__pyx_r);
10921 __Pyx_RefNannyFinishContext();
10934 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
10935 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_1typeNumber, METH_O, 0};
10936 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10937 PyObject *__pyx_r = 0;
10938 __Pyx_RefNannyDeclarations
10939 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
10940 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
10943 __Pyx_RefNannyFinishContext();
10947 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
10948 PyObject *__pyx_r = NULL;
10949 __Pyx_RefNannyDeclarations
10950 __Pyx_RefNannySetupContext(
"typeNumber", 0);
10959 __Pyx_XDECREF(__pyx_r);
10960 __Pyx_INCREF(__pyx_int_6);
10961 __pyx_r = __pyx_int_6;
10974 __Pyx_XGIVEREF(__pyx_r);
10975 __Pyx_RefNannyFinishContext();
10988 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
10989 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_3typeName, METH_O, 0};
10990 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
10991 PyObject *__pyx_r = 0;
10992 __Pyx_RefNannyDeclarations
10993 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
10994 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
10997 __Pyx_RefNannyFinishContext();
11001 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11002 PyObject *__pyx_r = NULL;
11003 __Pyx_RefNannyDeclarations
11004 __Pyx_RefNannySetupContext(
"typeName", 0);
11013 __Pyx_XDECREF(__pyx_r);
11014 __Pyx_INCREF(__pyx_n_s_TABULATED);
11015 __pyx_r = __pyx_n_s_TABULATED;
11028 __Pyx_XGIVEREF(__pyx_r);
11029 __Pyx_RefNannyFinishContext();
11042 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
11043 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_5validKeys, METH_O, 0};
11044 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11045 PyObject *__pyx_r = 0;
11046 __Pyx_RefNannyDeclarations
11047 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
11048 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
11051 __Pyx_RefNannyFinishContext();
11055 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11056 PyObject *__pyx_r = NULL;
11057 __Pyx_RefNannyDeclarations
11058 __Pyx_RefNannySetupContext(
"validKeys", 0);
11067 __Pyx_XDECREF(__pyx_r);
11068 __Pyx_INCREF(__pyx_tuple__41);
11069 __pyx_r = __pyx_tuple__41;
11082 __Pyx_XGIVEREF(__pyx_r);
11083 __Pyx_RefNannyFinishContext();
11096 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
11097 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_7requiredKeys, METH_O, 0};
11098 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11099 PyObject *__pyx_r = 0;
11100 __Pyx_RefNannyDeclarations
11101 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
11102 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
11105 __Pyx_RefNannyFinishContext();
11109 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11110 PyObject *__pyx_r = NULL;
11111 __Pyx_RefNannyDeclarations
11112 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
11121 __Pyx_XDECREF(__pyx_r);
11122 __Pyx_INCREF(__pyx_tuple__42);
11123 __pyx_r = __pyx_tuple__42;
11136 __Pyx_XGIVEREF(__pyx_r);
11137 __Pyx_RefNannyFinishContext();
11150 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
11151 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_9setDefaultParams, METH_O, 0};
11152 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11153 PyObject *__pyx_r = 0;
11154 __Pyx_RefNannyDeclarations
11155 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
11156 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
11159 __Pyx_RefNannyFinishContext();
11163 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
11164 PyObject *__pyx_r = NULL;
11165 __Pyx_RefNannyDeclarations
11166 PyObject *__pyx_t_1 = NULL;
11167 int __pyx_lineno = 0;
11168 const char *__pyx_filename = NULL;
11169 int __pyx_clineno = 0;
11170 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
11179 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11180 __Pyx_GOTREF(__pyx_t_1);
11181 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_type, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11182 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_filename, __pyx_kp_s__43) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11183 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_npoints, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11184 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_minval, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11185 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_maxval, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11186 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_invstepsize, __pyx_int_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11187 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 671; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11188 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11199 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
11202 __Pyx_XDECREF(__pyx_t_1);
11203 __Pyx_AddTraceback(
"espressomd.interactions.Tabulated.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
11206 __Pyx_XGIVEREF(__pyx_r);
11207 __Pyx_RefNannyFinishContext();
11220 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
11221 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_11_getParamsFromEsCore, METH_O, 0};
11222 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11223 PyObject *__pyx_r = 0;
11224 __Pyx_RefNannyDeclarations
11225 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
11226 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
11229 __Pyx_RefNannyFinishContext();
11233 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
11234 PyObject *__pyx_r = NULL;
11235 __Pyx_RefNannyDeclarations
11236 PyObject *__pyx_t_1 = NULL;
11237 PyObject *__pyx_t_2 = NULL;
11238 Py_ssize_t __pyx_t_3;
11239 int __pyx_lineno = 0;
11240 const char *__pyx_filename = NULL;
11241 int __pyx_clineno = 0;
11242 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
11251 __Pyx_XDECREF(__pyx_r);
11260 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11261 __Pyx_GOTREF(__pyx_t_1);
11262 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11263 __Pyx_GOTREF(__pyx_t_2);
11264 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11265 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11266 __pyx_t_2 = __Pyx_PyInt_From_int((
bonded_ia_params[__pyx_t_3]).p.tab.type);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11267 __Pyx_GOTREF(__pyx_t_2);
11268 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_type, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11269 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11278 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId_2);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 677; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11279 __Pyx_GOTREF(__pyx_t_2);
11280 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 677; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11281 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11282 __pyx_t_2 = __Pyx_PyBytes_FromString((
bonded_ia_params[__pyx_t_3]).p.tab.filename);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 677; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11283 __Pyx_GOTREF(__pyx_t_2);
11284 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_filename, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11285 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11294 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 678; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11295 __Pyx_GOTREF(__pyx_t_2);
11296 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 678; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11297 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11298 __pyx_t_2 = __Pyx_PyInt_From_int((
bonded_ia_params[__pyx_t_3]).p.tab.npoints);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 678; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11299 __Pyx_GOTREF(__pyx_t_2);
11300 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_npoints, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11301 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11310 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11311 __Pyx_GOTREF(__pyx_t_2);
11312 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11313 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11314 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.tab.minval);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 679; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11315 __Pyx_GOTREF(__pyx_t_2);
11316 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_minval, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11317 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11326 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11327 __Pyx_GOTREF(__pyx_t_2);
11328 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11329 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11330 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.tab.maxval);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 680; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11331 __Pyx_GOTREF(__pyx_t_2);
11332 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_maxval, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11333 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11342 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11343 __Pyx_GOTREF(__pyx_t_2);
11344 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11345 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11346 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.tab.invstepsize);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 681; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11347 __Pyx_GOTREF(__pyx_t_2);
11348 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_invstepsize, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 676; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11349 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11350 __pyx_r = __pyx_t_1;
11364 __Pyx_XDECREF(__pyx_t_1);
11365 __Pyx_XDECREF(__pyx_t_2);
11366 __Pyx_AddTraceback(
"espressomd.interactions.Tabulated._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
11369 __Pyx_XGIVEREF(__pyx_r);
11370 __Pyx_RefNannyFinishContext();
11383 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
11384 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9Tabulated_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_9Tabulated_13_setParamsInEsCore, METH_O, 0};
11385 static PyObject *__pyx_pw_10espressomd_12interactions_9Tabulated_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11386 PyObject *__pyx_r = 0;
11387 __Pyx_RefNannyDeclarations
11388 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
11389 __pyx_r = __pyx_pf_10espressomd_12interactions_9Tabulated_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
11392 __Pyx_RefNannyFinishContext();
11396 static PyObject *__pyx_pf_10espressomd_12interactions_9Tabulated_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
11397 PyObject *__pyx_r = NULL;
11398 __Pyx_RefNannyDeclarations
11399 PyObject *__pyx_t_1 = NULL;
11401 PyObject *__pyx_t_3 = NULL;
11404 int __pyx_lineno = 0;
11405 const char *__pyx_filename = NULL;
11406 int __pyx_clineno = 0;
11407 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
11416 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11417 __Pyx_GOTREF(__pyx_t_1);
11418 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11419 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11420 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11421 __Pyx_GOTREF(__pyx_t_1);
11422 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_type);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
11423 __Pyx_GOTREF(__pyx_t_3);
11424 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11425 __pyx_t_4 = ((
enum TabulatedBondedInteraction)PyInt_AsLong(__pyx_t_3));
if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11426 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11427 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11428 __Pyx_GOTREF(__pyx_t_3);
11429 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_filename);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
11430 __Pyx_GOTREF(__pyx_t_1);
11431 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11432 __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_t_1);
if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 685; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11442 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11453 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
11456 __Pyx_XDECREF(__pyx_t_1);
11457 __Pyx_XDECREF(__pyx_t_3);
11458 __Pyx_AddTraceback(
"espressomd.interactions.Tabulated._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
11461 __Pyx_XGIVEREF(__pyx_r);
11462 __Pyx_RefNannyFinishContext();
11475 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
11476 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_1typeNumber, METH_O, 0};
11477 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11478 PyObject *__pyx_r = 0;
11479 __Pyx_RefNannyDeclarations
11480 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
11481 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
11484 __Pyx_RefNannyFinishContext();
11488 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11489 PyObject *__pyx_r = NULL;
11490 __Pyx_RefNannyDeclarations
11491 __Pyx_RefNannySetupContext(
"typeNumber", 0);
11500 __Pyx_XDECREF(__pyx_r);
11501 __Pyx_INCREF(__pyx_int_7);
11502 __pyx_r = __pyx_int_7;
11515 __Pyx_XGIVEREF(__pyx_r);
11516 __Pyx_RefNannyFinishContext();
11529 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
11530 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_3typeName, METH_O, 0};
11531 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11532 PyObject *__pyx_r = 0;
11533 __Pyx_RefNannyDeclarations
11534 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
11535 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
11538 __Pyx_RefNannyFinishContext();
11542 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11543 PyObject *__pyx_r = NULL;
11544 __Pyx_RefNannyDeclarations
11545 __Pyx_RefNannySetupContext(
"typeName", 0);
11554 __Pyx_XDECREF(__pyx_r);
11555 __Pyx_INCREF(__pyx_n_s_SUBT_LJ);
11556 __pyx_r = __pyx_n_s_SUBT_LJ;
11569 __Pyx_XGIVEREF(__pyx_r);
11570 __Pyx_RefNannyFinishContext();
11583 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
11584 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_5validKeys, METH_O, 0};
11585 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11586 PyObject *__pyx_r = 0;
11587 __Pyx_RefNannyDeclarations
11588 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
11589 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
11592 __Pyx_RefNannyFinishContext();
11596 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11597 PyObject *__pyx_r = NULL;
11598 __Pyx_RefNannyDeclarations
11599 __Pyx_RefNannySetupContext(
"validKeys", 0);
11608 __Pyx_XDECREF(__pyx_r);
11609 __Pyx_INCREF(__pyx_tuple__44);
11610 __pyx_r = __pyx_tuple__44;
11623 __Pyx_XGIVEREF(__pyx_r);
11624 __Pyx_RefNannyFinishContext();
11637 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
11638 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_7requiredKeys, METH_O, 0};
11639 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11640 PyObject *__pyx_r = 0;
11641 __Pyx_RefNannyDeclarations
11642 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
11643 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
11646 __Pyx_RefNannyFinishContext();
11650 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11651 PyObject *__pyx_r = NULL;
11652 __Pyx_RefNannyDeclarations
11653 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
11662 __Pyx_XDECREF(__pyx_r);
11663 __Pyx_INCREF(__pyx_tuple__45);
11664 __pyx_r = __pyx_tuple__45;
11677 __Pyx_XGIVEREF(__pyx_r);
11678 __Pyx_RefNannyFinishContext();
11691 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
11692 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_9setDefaultParams, METH_O, 0};
11693 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11694 PyObject *__pyx_r = 0;
11695 __Pyx_RefNannyDeclarations
11696 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
11697 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
11700 __Pyx_RefNannyFinishContext();
11704 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
11705 PyObject *__pyx_r = NULL;
11706 __Pyx_RefNannyDeclarations
11707 PyObject *__pyx_t_1 = NULL;
11708 int __pyx_lineno = 0;
11709 const char *__pyx_filename = NULL;
11710 int __pyx_clineno = 0;
11711 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
11720 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11721 __Pyx_GOTREF(__pyx_t_1);
11722 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_k, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11723 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11724 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 728; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11725 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11736 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
11739 __Pyx_XDECREF(__pyx_t_1);
11740 __Pyx_AddTraceback(
"espressomd.interactions.Subt_Lj.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
11743 __Pyx_XGIVEREF(__pyx_r);
11744 __Pyx_RefNannyFinishContext();
11757 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
11758 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_11_getParamsFromEsCore, METH_O, 0};
11759 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11760 PyObject *__pyx_r = 0;
11761 __Pyx_RefNannyDeclarations
11762 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
11763 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
11766 __Pyx_RefNannyFinishContext();
11770 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
11771 PyObject *__pyx_r = NULL;
11772 __Pyx_RefNannyDeclarations
11773 PyObject *__pyx_t_1 = NULL;
11774 PyObject *__pyx_t_2 = NULL;
11775 Py_ssize_t __pyx_t_3;
11776 int __pyx_lineno = 0;
11777 const char *__pyx_filename = NULL;
11778 int __pyx_clineno = 0;
11779 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
11788 __Pyx_XDECREF(__pyx_r);
11797 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11798 __Pyx_GOTREF(__pyx_t_1);
11799 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11800 __Pyx_GOTREF(__pyx_t_2);
11801 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11802 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11803 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.subt_lj.k);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11804 __Pyx_GOTREF(__pyx_t_2);
11805 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_k, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11806 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11815 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 733; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11816 __Pyx_GOTREF(__pyx_t_2);
11817 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 733; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11818 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11819 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.subt_lj.r);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 733; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11820 __Pyx_GOTREF(__pyx_t_2);
11821 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 732; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11822 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
11823 __pyx_r = __pyx_t_1;
11837 __Pyx_XDECREF(__pyx_t_1);
11838 __Pyx_XDECREF(__pyx_t_2);
11839 __Pyx_AddTraceback(
"espressomd.interactions.Subt_Lj._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
11842 __Pyx_XGIVEREF(__pyx_r);
11843 __Pyx_RefNannyFinishContext();
11856 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
11857 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Subt_Lj_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Subt_Lj_13_setParamsInEsCore, METH_O, 0};
11858 static PyObject *__pyx_pw_10espressomd_12interactions_7Subt_Lj_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11859 PyObject *__pyx_r = 0;
11860 __Pyx_RefNannyDeclarations
11861 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
11862 __pyx_r = __pyx_pf_10espressomd_12interactions_7Subt_Lj_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
11865 __Pyx_RefNannyFinishContext();
11869 static PyObject *__pyx_pf_10espressomd_12interactions_7Subt_Lj_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
11870 PyObject *__pyx_r = NULL;
11871 __Pyx_RefNannyDeclarations
11872 PyObject *__pyx_t_1 = NULL;
11874 PyObject *__pyx_t_3 = NULL;
11877 int __pyx_lineno = 0;
11878 const char *__pyx_filename = NULL;
11879 int __pyx_clineno = 0;
11880 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
11889 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11890 __Pyx_GOTREF(__pyx_t_1);
11891 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11892 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11893 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11894 __Pyx_GOTREF(__pyx_t_1);
11895 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_k);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
11896 __Pyx_GOTREF(__pyx_t_3);
11897 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11898 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11899 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11900 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11901 __Pyx_GOTREF(__pyx_t_3);
11902 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_r);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
11903 __Pyx_GOTREF(__pyx_t_1);
11904 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
11905 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 737; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
11906 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
11926 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
11929 __Pyx_XDECREF(__pyx_t_1);
11930 __Pyx_XDECREF(__pyx_t_3);
11931 __Pyx_AddTraceback(
"espressomd.interactions.Subt_Lj._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
11934 __Pyx_XGIVEREF(__pyx_r);
11935 __Pyx_RefNannyFinishContext();
11948 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
11949 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_1typeNumber, METH_O, 0};
11950 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
11951 PyObject *__pyx_r = 0;
11952 __Pyx_RefNannyDeclarations
11953 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
11954 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
11957 __Pyx_RefNannyFinishContext();
11961 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
11962 PyObject *__pyx_r = NULL;
11963 __Pyx_RefNannyDeclarations
11964 __Pyx_RefNannySetupContext(
"typeNumber", 0);
11973 __Pyx_XDECREF(__pyx_r);
11974 __Pyx_INCREF(__pyx_int_9);
11975 __pyx_r = __pyx_int_9;
11988 __Pyx_XGIVEREF(__pyx_r);
11989 __Pyx_RefNannyFinishContext();
12002 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
12003 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_3typeName, METH_O, 0};
12004 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12005 PyObject *__pyx_r = 0;
12006 __Pyx_RefNannyDeclarations
12007 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
12008 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
12011 __Pyx_RefNannyFinishContext();
12015 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12016 PyObject *__pyx_r = NULL;
12017 __Pyx_RefNannyDeclarations
12018 __Pyx_RefNannySetupContext(
"typeName", 0);
12027 __Pyx_XDECREF(__pyx_r);
12028 __Pyx_INCREF(__pyx_n_s_VIRTUAL);
12029 __pyx_r = __pyx_n_s_VIRTUAL;
12042 __Pyx_XGIVEREF(__pyx_r);
12043 __Pyx_RefNannyFinishContext();
12056 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
12057 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_5validKeys, METH_O, 0};
12058 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12059 PyObject *__pyx_r = 0;
12060 __Pyx_RefNannyDeclarations
12061 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
12062 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
12065 __Pyx_RefNannyFinishContext();
12069 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12070 PyObject *__pyx_r = NULL;
12071 __Pyx_RefNannyDeclarations
12072 __Pyx_RefNannySetupContext(
"validKeys", 0);
12081 __Pyx_XDECREF(__pyx_r);
12082 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12095 __Pyx_XGIVEREF(__pyx_r);
12096 __Pyx_RefNannyFinishContext();
12109 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
12110 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_7requiredKeys, METH_O, 0};
12111 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12112 PyObject *__pyx_r = 0;
12113 __Pyx_RefNannyDeclarations
12114 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
12115 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
12118 __Pyx_RefNannyFinishContext();
12122 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12123 PyObject *__pyx_r = NULL;
12124 __Pyx_RefNannyDeclarations
12125 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
12134 __Pyx_XDECREF(__pyx_r);
12135 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12148 __Pyx_XGIVEREF(__pyx_r);
12149 __Pyx_RefNannyFinishContext();
12162 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
12163 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_9setDefaultParams, METH_O, 0};
12164 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12165 PyObject *__pyx_r = 0;
12166 __Pyx_RefNannyDeclarations
12167 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
12168 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
12171 __Pyx_RefNannyFinishContext();
12175 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12176 PyObject *__pyx_r = NULL;
12177 __Pyx_RefNannyDeclarations
12178 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
12181 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12182 __Pyx_XGIVEREF(__pyx_r);
12183 __Pyx_RefNannyFinishContext();
12196 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
12197 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_11_getParamsFromEsCore, METH_O, 0};
12198 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12199 PyObject *__pyx_r = 0;
12200 __Pyx_RefNannyDeclarations
12201 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
12202 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
12205 __Pyx_RefNannyFinishContext();
12209 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12210 PyObject *__pyx_r = NULL;
12211 __Pyx_RefNannyDeclarations
12212 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
12215 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12216 __Pyx_XGIVEREF(__pyx_r);
12217 __Pyx_RefNannyFinishContext();
12230 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
12231 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7Virtual_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_7Virtual_13_setParamsInEsCore, METH_O, 0};
12232 static PyObject *__pyx_pw_10espressomd_12interactions_7Virtual_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12233 PyObject *__pyx_r = 0;
12234 __Pyx_RefNannyDeclarations
12235 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
12236 __pyx_r = __pyx_pf_10espressomd_12interactions_7Virtual_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
12239 __Pyx_RefNannyFinishContext();
12243 static PyObject *__pyx_pf_10espressomd_12interactions_7Virtual_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
12244 PyObject *__pyx_r = NULL;
12245 __Pyx_RefNannyDeclarations
12246 PyObject *__pyx_t_1 = NULL;
12248 int __pyx_lineno = 0;
12249 const char *__pyx_filename = NULL;
12250 int __pyx_clineno = 0;
12251 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
12260 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 761; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12261 __Pyx_GOTREF(__pyx_t_1);
12262 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 761; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12263 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12275 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12278 __Pyx_XDECREF(__pyx_t_1);
12279 __Pyx_AddTraceback(
"espressomd.interactions.Virtual._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
12282 __Pyx_XGIVEREF(__pyx_r);
12283 __Pyx_RefNannyFinishContext();
12296 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
12297 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_1typeNumber, METH_O, 0};
12298 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12299 PyObject *__pyx_r = 0;
12300 __Pyx_RefNannyDeclarations
12301 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
12302 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
12305 __Pyx_RefNannyFinishContext();
12309 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12310 PyObject *__pyx_r = NULL;
12311 __Pyx_RefNannyDeclarations
12312 __Pyx_RefNannySetupContext(
"typeNumber", 0);
12321 __Pyx_XDECREF(__pyx_r);
12322 __Pyx_INCREF(__pyx_int_12);
12323 __pyx_r = __pyx_int_12;
12336 __Pyx_XGIVEREF(__pyx_r);
12337 __Pyx_RefNannyFinishContext();
12350 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
12351 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_3typeName, METH_O, 0};
12352 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12353 PyObject *__pyx_r = 0;
12354 __Pyx_RefNannyDeclarations
12355 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
12356 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
12359 __Pyx_RefNannyFinishContext();
12363 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12364 PyObject *__pyx_r = NULL;
12365 __Pyx_RefNannyDeclarations
12366 __Pyx_RefNannySetupContext(
"typeName", 0);
12375 __Pyx_XDECREF(__pyx_r);
12376 __Pyx_INCREF(__pyx_n_s_OVERLAPPED);
12377 __pyx_r = __pyx_n_s_OVERLAPPED;
12390 __Pyx_XGIVEREF(__pyx_r);
12391 __Pyx_RefNannyFinishContext();
12404 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
12405 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_5validKeys, METH_O, 0};
12406 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12407 PyObject *__pyx_r = 0;
12408 __Pyx_RefNannyDeclarations
12409 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
12410 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
12413 __Pyx_RefNannyFinishContext();
12417 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12418 PyObject *__pyx_r = NULL;
12419 __Pyx_RefNannyDeclarations
12420 __Pyx_RefNannySetupContext(
"validKeys", 0);
12429 __Pyx_XDECREF(__pyx_r);
12430 __Pyx_INCREF(__pyx_tuple__46);
12431 __pyx_r = __pyx_tuple__46;
12444 __Pyx_XGIVEREF(__pyx_r);
12445 __Pyx_RefNannyFinishContext();
12458 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
12459 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_7requiredKeys, METH_O, 0};
12460 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12461 PyObject *__pyx_r = 0;
12462 __Pyx_RefNannyDeclarations
12463 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
12464 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
12467 __Pyx_RefNannyFinishContext();
12471 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12472 PyObject *__pyx_r = NULL;
12473 __Pyx_RefNannyDeclarations
12474 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
12483 __Pyx_XDECREF(__pyx_r);
12484 __Pyx_INCREF(__pyx_tuple__47);
12485 __pyx_r = __pyx_tuple__47;
12498 __Pyx_XGIVEREF(__pyx_r);
12499 __Pyx_RefNannyFinishContext();
12512 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
12513 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_9setDefaultParams, METH_O, 0};
12514 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12515 PyObject *__pyx_r = 0;
12516 __Pyx_RefNannyDeclarations
12517 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
12518 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
12521 __Pyx_RefNannyFinishContext();
12525 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
12526 PyObject *__pyx_r = NULL;
12527 __Pyx_RefNannyDeclarations
12528 PyObject *__pyx_t_1 = NULL;
12529 int __pyx_lineno = 0;
12530 const char *__pyx_filename = NULL;
12531 int __pyx_clineno = 0;
12532 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
12541 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12542 __Pyx_GOTREF(__pyx_t_1);
12543 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_overlap_type, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12544 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_filename, __pyx_kp_s__43) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12545 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12546 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12557 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12560 __Pyx_XDECREF(__pyx_t_1);
12561 __Pyx_AddTraceback(
"espressomd.interactions.Overlapped.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
12564 __Pyx_XGIVEREF(__pyx_r);
12565 __Pyx_RefNannyFinishContext();
12578 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
12579 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_11_getParamsFromEsCore, METH_O, 0};
12580 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12581 PyObject *__pyx_r = 0;
12582 __Pyx_RefNannyDeclarations
12583 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
12584 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
12587 __Pyx_RefNannyFinishContext();
12591 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
12592 PyObject *__pyx_r = NULL;
12593 __Pyx_RefNannyDeclarations
12594 PyObject *__pyx_t_1 = NULL;
12595 PyObject *__pyx_t_2 = NULL;
12596 Py_ssize_t __pyx_t_3;
12597 int __pyx_lineno = 0;
12598 const char *__pyx_filename = NULL;
12599 int __pyx_clineno = 0;
12600 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
12609 __Pyx_XDECREF(__pyx_r);
12618 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 820; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12619 __Pyx_GOTREF(__pyx_t_1);
12620 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 820; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12621 __Pyx_GOTREF(__pyx_t_2);
12622 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 820; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12623 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
12624 __pyx_t_2 = __Pyx_PyInt_From_int((
bonded_ia_params[__pyx_t_3]).p.overlap.type);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 820; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12625 __Pyx_GOTREF(__pyx_t_2);
12626 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 820; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12627 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
12636 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 821; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12637 __Pyx_GOTREF(__pyx_t_2);
12638 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 821; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12639 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
12640 __pyx_t_2 = __Pyx_PyBytes_FromString((
bonded_ia_params[__pyx_t_3]).p.overlap.filename);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 821; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12641 __Pyx_GOTREF(__pyx_t_2);
12642 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 820; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12643 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
12644 __pyx_r = __pyx_t_1;
12658 __Pyx_XDECREF(__pyx_t_1);
12659 __Pyx_XDECREF(__pyx_t_2);
12660 __Pyx_AddTraceback(
"espressomd.interactions.Overlapped._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
12663 __Pyx_XGIVEREF(__pyx_r);
12664 __Pyx_RefNannyFinishContext();
12677 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
12678 static PyMethodDef __pyx_mdef_10espressomd_12interactions_10Overlapped_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_10Overlapped_13_setParamsInEsCore, METH_O, 0};
12679 static PyObject *__pyx_pw_10espressomd_12interactions_10Overlapped_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12680 PyObject *__pyx_r = 0;
12681 __Pyx_RefNannyDeclarations
12682 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
12683 __pyx_r = __pyx_pf_10espressomd_12interactions_10Overlapped_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
12686 __Pyx_RefNannyFinishContext();
12690 static PyObject *__pyx_pf_10espressomd_12interactions_10Overlapped_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
12691 PyObject *__pyx_r = NULL;
12692 __Pyx_RefNannyDeclarations
12693 PyObject *__pyx_t_1 = NULL;
12695 PyObject *__pyx_t_3 = NULL;
12698 int __pyx_lineno = 0;
12699 const char *__pyx_filename = NULL;
12700 int __pyx_clineno = 0;
12701 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
12710 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12711 __Pyx_GOTREF(__pyx_t_1);
12712 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12713 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12714 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12715 __Pyx_GOTREF(__pyx_t_1);
12716 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_overlap_type);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
12717 __Pyx_GOTREF(__pyx_t_3);
12718 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12719 __pyx_t_4 = ((
enum OverlappedBondedInteraction)PyInt_AsLong(__pyx_t_3));
if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12720 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12721 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12722 __Pyx_GOTREF(__pyx_t_3);
12723 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_filename);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
12724 __Pyx_GOTREF(__pyx_t_1);
12725 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
12726 __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_t_1);
if (unlikely((!__pyx_t_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 825; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
12736 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
12747 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
12750 __Pyx_XDECREF(__pyx_t_1);
12751 __Pyx_XDECREF(__pyx_t_3);
12752 __Pyx_AddTraceback(
"espressomd.interactions.Overlapped._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
12755 __Pyx_XGIVEREF(__pyx_r);
12756 __Pyx_RefNannyFinishContext();
12769 static PyObject *__pyx_pw_10espressomd_12interactions_14Angle_Harmonic_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
12770 static PyMethodDef __pyx_mdef_10espressomd_12interactions_14Angle_Harmonic_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_14Angle_Harmonic_1typeNumber, METH_O, 0};
12771 static PyObject *__pyx_pw_10espressomd_12interactions_14Angle_Harmonic_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12772 PyObject *__pyx_r = 0;
12773 __Pyx_RefNannyDeclarations
12774 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
12775 __pyx_r = __pyx_pf_10espressomd_12interactions_14Angle_Harmonic_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
12778 __Pyx_RefNannyFinishContext();
12782 static PyObject *__pyx_pf_10espressomd_12interactions_14Angle_Harmonic_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12783 PyObject *__pyx_r = NULL;
12784 __Pyx_RefNannyDeclarations
12785 __Pyx_RefNannySetupContext(
"typeNumber", 0);
12794 __Pyx_XDECREF(__pyx_r);
12795 __Pyx_INCREF(__pyx_int_13);
12796 __pyx_r = __pyx_int_13;
12809 __Pyx_XGIVEREF(__pyx_r);
12810 __Pyx_RefNannyFinishContext();
12823 static PyObject *__pyx_pw_10espressomd_12interactions_1typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
12824 static PyMethodDef __pyx_mdef_10espressomd_12interactions_1typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_1typeName, METH_O, 0};
12825 static PyObject *__pyx_pw_10espressomd_12interactions_1typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12826 PyObject *__pyx_r = 0;
12827 __Pyx_RefNannyDeclarations
12828 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
12829 __pyx_r = __pyx_pf_10espressomd_12interactions_typeName(__pyx_self, ((PyObject *)__pyx_v_self));
12832 __Pyx_RefNannyFinishContext();
12836 static PyObject *__pyx_pf_10espressomd_12interactions_typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12837 PyObject *__pyx_r = NULL;
12838 __Pyx_RefNannyDeclarations
12839 __Pyx_RefNannySetupContext(
"typeName", 0);
12848 __Pyx_XDECREF(__pyx_r);
12849 __Pyx_INCREF(__pyx_n_s_ANGLE_HARMONIC);
12850 __pyx_r = __pyx_n_s_ANGLE_HARMONIC;
12863 __Pyx_XGIVEREF(__pyx_r);
12864 __Pyx_RefNannyFinishContext();
12877 static PyObject *__pyx_pw_10espressomd_12interactions_3validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
12878 static PyMethodDef __pyx_mdef_10espressomd_12interactions_3validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_3validKeys, METH_O, 0};
12879 static PyObject *__pyx_pw_10espressomd_12interactions_3validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12880 PyObject *__pyx_r = 0;
12881 __Pyx_RefNannyDeclarations
12882 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
12883 __pyx_r = __pyx_pf_10espressomd_12interactions_2validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
12886 __Pyx_RefNannyFinishContext();
12890 static PyObject *__pyx_pf_10espressomd_12interactions_2validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12891 PyObject *__pyx_r = NULL;
12892 __Pyx_RefNannyDeclarations
12893 __Pyx_RefNannySetupContext(
"validKeys", 0);
12902 __Pyx_XDECREF(__pyx_r);
12903 __Pyx_INCREF(__pyx_tuple__48);
12904 __pyx_r = __pyx_tuple__48;
12917 __Pyx_XGIVEREF(__pyx_r);
12918 __Pyx_RefNannyFinishContext();
12931 static PyObject *__pyx_pw_10espressomd_12interactions_5requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
12932 static PyMethodDef __pyx_mdef_10espressomd_12interactions_5requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_5requiredKeys, METH_O, 0};
12933 static PyObject *__pyx_pw_10espressomd_12interactions_5requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12934 PyObject *__pyx_r = 0;
12935 __Pyx_RefNannyDeclarations
12936 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
12937 __pyx_r = __pyx_pf_10espressomd_12interactions_4requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
12940 __Pyx_RefNannyFinishContext();
12944 static PyObject *__pyx_pf_10espressomd_12interactions_4requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
12945 PyObject *__pyx_r = NULL;
12946 __Pyx_RefNannyDeclarations
12947 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
12956 __Pyx_XDECREF(__pyx_r);
12957 __Pyx_INCREF(__pyx_tuple__49);
12958 __pyx_r = __pyx_tuple__49;
12971 __Pyx_XGIVEREF(__pyx_r);
12972 __Pyx_RefNannyFinishContext();
12985 static PyObject *__pyx_pw_10espressomd_12interactions_7setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
12986 static PyMethodDef __pyx_mdef_10espressomd_12interactions_7setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_7setDefaultParams, METH_O, 0};
12987 static PyObject *__pyx_pw_10espressomd_12interactions_7setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
12988 PyObject *__pyx_r = 0;
12989 __Pyx_RefNannyDeclarations
12990 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
12991 __pyx_r = __pyx_pf_10espressomd_12interactions_6setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
12994 __Pyx_RefNannyFinishContext();
12998 static PyObject *__pyx_pf_10espressomd_12interactions_6setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
12999 PyObject *__pyx_r = NULL;
13000 __Pyx_RefNannyDeclarations
13001 PyObject *__pyx_t_1 = NULL;
13002 int __pyx_lineno = 0;
13003 const char *__pyx_filename = NULL;
13004 int __pyx_clineno = 0;
13005 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
13014 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13015 __Pyx_GOTREF(__pyx_t_1);
13016 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13017 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13018 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13019 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13030 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
13033 __Pyx_XDECREF(__pyx_t_1);
13034 __Pyx_AddTraceback(
"espressomd.interactions.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
13037 __Pyx_XGIVEREF(__pyx_r);
13038 __Pyx_RefNannyFinishContext();
13051 static PyObject *__pyx_pw_10espressomd_12interactions_9_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
13052 static PyMethodDef __pyx_mdef_10espressomd_12interactions_9_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_9_getParamsFromEsCore, METH_O, 0};
13053 static PyObject *__pyx_pw_10espressomd_12interactions_9_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13054 PyObject *__pyx_r = 0;
13055 __Pyx_RefNannyDeclarations
13056 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
13057 __pyx_r = __pyx_pf_10espressomd_12interactions_8_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
13060 __Pyx_RefNannyFinishContext();
13064 static PyObject *__pyx_pf_10espressomd_12interactions_8_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
13065 PyObject *__pyx_r = NULL;
13066 __Pyx_RefNannyDeclarations
13067 PyObject *__pyx_t_1 = NULL;
13068 PyObject *__pyx_t_2 = NULL;
13069 Py_ssize_t __pyx_t_3;
13070 int __pyx_lineno = 0;
13071 const char *__pyx_filename = NULL;
13072 int __pyx_clineno = 0;
13073 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
13082 __Pyx_XDECREF(__pyx_r);
13091 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13092 __Pyx_GOTREF(__pyx_t_1);
13093 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13094 __Pyx_GOTREF(__pyx_t_2);
13095 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13096 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13097 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.angle_harmonic.bend);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13098 __Pyx_GOTREF(__pyx_t_2);
13099 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13100 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13109 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13110 __Pyx_GOTREF(__pyx_t_2);
13111 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13112 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13113 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.angle_harmonic.phi0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13114 __Pyx_GOTREF(__pyx_t_2);
13115 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 851; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13116 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13117 __pyx_r = __pyx_t_1;
13131 __Pyx_XDECREF(__pyx_t_1);
13132 __Pyx_XDECREF(__pyx_t_2);
13133 __Pyx_AddTraceback(
"espressomd.interactions._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
13136 __Pyx_XGIVEREF(__pyx_r);
13137 __Pyx_RefNannyFinishContext();
13150 static PyObject *__pyx_pw_10espressomd_12interactions_11_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
13151 static PyMethodDef __pyx_mdef_10espressomd_12interactions_11_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_11_setParamsInEsCore, METH_O, 0};
13152 static PyObject *__pyx_pw_10espressomd_12interactions_11_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13153 PyObject *__pyx_r = 0;
13154 __Pyx_RefNannyDeclarations
13155 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
13156 __pyx_r = __pyx_pf_10espressomd_12interactions_10_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
13159 __Pyx_RefNannyFinishContext();
13163 static PyObject *__pyx_pf_10espressomd_12interactions_10_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
13164 PyObject *__pyx_r = NULL;
13165 __Pyx_RefNannyDeclarations
13166 PyObject *__pyx_t_1 = NULL;
13168 PyObject *__pyx_t_3 = NULL;
13171 int __pyx_lineno = 0;
13172 const char *__pyx_filename = NULL;
13173 int __pyx_clineno = 0;
13174 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
13183 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13184 __Pyx_GOTREF(__pyx_t_1);
13185 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13186 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13187 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13188 __Pyx_GOTREF(__pyx_t_1);
13189 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_bend);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
13190 __Pyx_GOTREF(__pyx_t_3);
13191 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13192 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13193 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13194 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13195 __Pyx_GOTREF(__pyx_t_3);
13196 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_phi0);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
13197 __Pyx_GOTREF(__pyx_t_1);
13198 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13199 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13200 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13220 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
13223 __Pyx_XDECREF(__pyx_t_1);
13224 __Pyx_XDECREF(__pyx_t_3);
13225 __Pyx_AddTraceback(
"espressomd.interactions._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
13228 __Pyx_XGIVEREF(__pyx_r);
13229 __Pyx_RefNannyFinishContext();
13242 static PyObject *__pyx_pw_10espressomd_12interactions_12Angle_Cosine_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
13243 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Angle_Cosine_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Angle_Cosine_1typeNumber, METH_O, 0};
13244 static PyObject *__pyx_pw_10espressomd_12interactions_12Angle_Cosine_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13245 PyObject *__pyx_r = 0;
13246 __Pyx_RefNannyDeclarations
13247 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
13248 __pyx_r = __pyx_pf_10espressomd_12interactions_12Angle_Cosine_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
13251 __Pyx_RefNannyFinishContext();
13255 static PyObject *__pyx_pf_10espressomd_12interactions_12Angle_Cosine_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13256 PyObject *__pyx_r = NULL;
13257 __Pyx_RefNannyDeclarations
13258 __Pyx_RefNannySetupContext(
"typeNumber", 0);
13267 __Pyx_XDECREF(__pyx_r);
13268 __Pyx_INCREF(__pyx_int_14);
13269 __pyx_r = __pyx_int_14;
13282 __Pyx_XGIVEREF(__pyx_r);
13283 __Pyx_RefNannyFinishContext();
13296 static PyObject *__pyx_pw_10espressomd_12interactions_13typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
13297 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_13typeName, METH_O, 0};
13298 static PyObject *__pyx_pw_10espressomd_12interactions_13typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13299 PyObject *__pyx_r = 0;
13300 __Pyx_RefNannyDeclarations
13301 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
13302 __pyx_r = __pyx_pf_10espressomd_12interactions_12typeName(__pyx_self, ((PyObject *)__pyx_v_self));
13305 __Pyx_RefNannyFinishContext();
13309 static PyObject *__pyx_pf_10espressomd_12interactions_12typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13310 PyObject *__pyx_r = NULL;
13311 __Pyx_RefNannyDeclarations
13312 __Pyx_RefNannySetupContext(
"typeName", 0);
13321 __Pyx_XDECREF(__pyx_r);
13322 __Pyx_INCREF(__pyx_n_s_ANGLE_COSINE);
13323 __pyx_r = __pyx_n_s_ANGLE_COSINE;
13336 __Pyx_XGIVEREF(__pyx_r);
13337 __Pyx_RefNannyFinishContext();
13350 static PyObject *__pyx_pw_10espressomd_12interactions_15validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
13351 static PyMethodDef __pyx_mdef_10espressomd_12interactions_15validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_15validKeys, METH_O, 0};
13352 static PyObject *__pyx_pw_10espressomd_12interactions_15validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13353 PyObject *__pyx_r = 0;
13354 __Pyx_RefNannyDeclarations
13355 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
13356 __pyx_r = __pyx_pf_10espressomd_12interactions_14validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
13359 __Pyx_RefNannyFinishContext();
13363 static PyObject *__pyx_pf_10espressomd_12interactions_14validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13364 PyObject *__pyx_r = NULL;
13365 __Pyx_RefNannyDeclarations
13366 __Pyx_RefNannySetupContext(
"validKeys", 0);
13375 __Pyx_XDECREF(__pyx_r);
13376 __Pyx_INCREF(__pyx_tuple__50);
13377 __pyx_r = __pyx_tuple__50;
13390 __Pyx_XGIVEREF(__pyx_r);
13391 __Pyx_RefNannyFinishContext();
13404 static PyObject *__pyx_pw_10espressomd_12interactions_17requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
13405 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_17requiredKeys, METH_O, 0};
13406 static PyObject *__pyx_pw_10espressomd_12interactions_17requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13407 PyObject *__pyx_r = 0;
13408 __Pyx_RefNannyDeclarations
13409 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
13410 __pyx_r = __pyx_pf_10espressomd_12interactions_16requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
13413 __Pyx_RefNannyFinishContext();
13417 static PyObject *__pyx_pf_10espressomd_12interactions_16requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13418 PyObject *__pyx_r = NULL;
13419 __Pyx_RefNannyDeclarations
13420 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
13429 __Pyx_XDECREF(__pyx_r);
13430 __Pyx_INCREF(__pyx_tuple__51);
13431 __pyx_r = __pyx_tuple__51;
13444 __Pyx_XGIVEREF(__pyx_r);
13445 __Pyx_RefNannyFinishContext();
13458 static PyObject *__pyx_pw_10espressomd_12interactions_19setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
13459 static PyMethodDef __pyx_mdef_10espressomd_12interactions_19setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_19setDefaultParams, METH_O, 0};
13460 static PyObject *__pyx_pw_10espressomd_12interactions_19setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13461 PyObject *__pyx_r = 0;
13462 __Pyx_RefNannyDeclarations
13463 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
13464 __pyx_r = __pyx_pf_10espressomd_12interactions_18setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
13467 __Pyx_RefNannyFinishContext();
13471 static PyObject *__pyx_pf_10espressomd_12interactions_18setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
13472 PyObject *__pyx_r = NULL;
13473 __Pyx_RefNannyDeclarations
13474 PyObject *__pyx_t_1 = NULL;
13475 int __pyx_lineno = 0;
13476 const char *__pyx_filename = NULL;
13477 int __pyx_clineno = 0;
13478 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
13487 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 877; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13488 __Pyx_GOTREF(__pyx_t_1);
13489 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 877; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13490 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 877; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13491 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 877; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13492 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13503 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
13506 __Pyx_XDECREF(__pyx_t_1);
13507 __Pyx_AddTraceback(
"espressomd.interactions.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
13510 __Pyx_XGIVEREF(__pyx_r);
13511 __Pyx_RefNannyFinishContext();
13524 static PyObject *__pyx_pw_10espressomd_12interactions_21_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
13525 static PyMethodDef __pyx_mdef_10espressomd_12interactions_21_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_21_getParamsFromEsCore, METH_O, 0};
13526 static PyObject *__pyx_pw_10espressomd_12interactions_21_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13527 PyObject *__pyx_r = 0;
13528 __Pyx_RefNannyDeclarations
13529 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
13530 __pyx_r = __pyx_pf_10espressomd_12interactions_20_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
13533 __Pyx_RefNannyFinishContext();
13537 static PyObject *__pyx_pf_10espressomd_12interactions_20_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
13538 PyObject *__pyx_r = NULL;
13539 __Pyx_RefNannyDeclarations
13540 PyObject *__pyx_t_1 = NULL;
13541 PyObject *__pyx_t_2 = NULL;
13542 Py_ssize_t __pyx_t_3;
13543 int __pyx_lineno = 0;
13544 const char *__pyx_filename = NULL;
13545 int __pyx_clineno = 0;
13546 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
13555 __Pyx_XDECREF(__pyx_r);
13564 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13565 __Pyx_GOTREF(__pyx_t_1);
13566 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13567 __Pyx_GOTREF(__pyx_t_2);
13568 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13569 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13570 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.angle_cosine.bend);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13571 __Pyx_GOTREF(__pyx_t_2);
13572 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13573 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13582 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 882; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13583 __Pyx_GOTREF(__pyx_t_2);
13584 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 882; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13585 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13586 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.angle_cosine.phi0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 882; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13587 __Pyx_GOTREF(__pyx_t_2);
13588 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13589 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
13590 __pyx_r = __pyx_t_1;
13604 __Pyx_XDECREF(__pyx_t_1);
13605 __Pyx_XDECREF(__pyx_t_2);
13606 __Pyx_AddTraceback(
"espressomd.interactions._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
13609 __Pyx_XGIVEREF(__pyx_r);
13610 __Pyx_RefNannyFinishContext();
13623 static PyObject *__pyx_pw_10espressomd_12interactions_23_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
13624 static PyMethodDef __pyx_mdef_10espressomd_12interactions_23_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_23_setParamsInEsCore, METH_O, 0};
13625 static PyObject *__pyx_pw_10espressomd_12interactions_23_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13626 PyObject *__pyx_r = 0;
13627 __Pyx_RefNannyDeclarations
13628 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
13629 __pyx_r = __pyx_pf_10espressomd_12interactions_22_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
13632 __Pyx_RefNannyFinishContext();
13636 static PyObject *__pyx_pf_10espressomd_12interactions_22_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
13637 PyObject *__pyx_r = NULL;
13638 __Pyx_RefNannyDeclarations
13639 PyObject *__pyx_t_1 = NULL;
13641 PyObject *__pyx_t_3 = NULL;
13644 int __pyx_lineno = 0;
13645 const char *__pyx_filename = NULL;
13646 int __pyx_clineno = 0;
13647 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
13656 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13657 __Pyx_GOTREF(__pyx_t_1);
13658 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13659 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13660 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13661 __Pyx_GOTREF(__pyx_t_1);
13662 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_bend);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
13663 __Pyx_GOTREF(__pyx_t_3);
13664 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13665 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13666 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13667 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13668 __Pyx_GOTREF(__pyx_t_3);
13669 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_phi0);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
13670 __Pyx_GOTREF(__pyx_t_1);
13671 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
13672 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 886; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13673 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13693 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
13696 __Pyx_XDECREF(__pyx_t_1);
13697 __Pyx_XDECREF(__pyx_t_3);
13698 __Pyx_AddTraceback(
"espressomd.interactions._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
13701 __Pyx_XGIVEREF(__pyx_r);
13702 __Pyx_RefNannyFinishContext();
13715 static PyObject *__pyx_pw_10espressomd_12interactions_15Angle_Cossquare_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
13716 static PyMethodDef __pyx_mdef_10espressomd_12interactions_15Angle_Cossquare_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_15Angle_Cossquare_1typeNumber, METH_O, 0};
13717 static PyObject *__pyx_pw_10espressomd_12interactions_15Angle_Cossquare_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13718 PyObject *__pyx_r = 0;
13719 __Pyx_RefNannyDeclarations
13720 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
13721 __pyx_r = __pyx_pf_10espressomd_12interactions_15Angle_Cossquare_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
13724 __Pyx_RefNannyFinishContext();
13728 static PyObject *__pyx_pf_10espressomd_12interactions_15Angle_Cossquare_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13729 PyObject *__pyx_r = NULL;
13730 __Pyx_RefNannyDeclarations
13731 __Pyx_RefNannySetupContext(
"typeNumber", 0);
13740 __Pyx_XDECREF(__pyx_r);
13741 __Pyx_INCREF(__pyx_int_15);
13742 __pyx_r = __pyx_int_15;
13755 __Pyx_XGIVEREF(__pyx_r);
13756 __Pyx_RefNannyFinishContext();
13769 static PyObject *__pyx_pw_10espressomd_12interactions_25typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
13770 static PyMethodDef __pyx_mdef_10espressomd_12interactions_25typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_25typeName, METH_O, 0};
13771 static PyObject *__pyx_pw_10espressomd_12interactions_25typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13772 PyObject *__pyx_r = 0;
13773 __Pyx_RefNannyDeclarations
13774 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
13775 __pyx_r = __pyx_pf_10espressomd_12interactions_24typeName(__pyx_self, ((PyObject *)__pyx_v_self));
13778 __Pyx_RefNannyFinishContext();
13782 static PyObject *__pyx_pf_10espressomd_12interactions_24typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13783 PyObject *__pyx_r = NULL;
13784 __Pyx_RefNannyDeclarations
13785 __Pyx_RefNannySetupContext(
"typeName", 0);
13794 __Pyx_XDECREF(__pyx_r);
13795 __Pyx_INCREF(__pyx_n_s_ANGLE_COSSQUARE);
13796 __pyx_r = __pyx_n_s_ANGLE_COSSQUARE;
13809 __Pyx_XGIVEREF(__pyx_r);
13810 __Pyx_RefNannyFinishContext();
13823 static PyObject *__pyx_pw_10espressomd_12interactions_27validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
13824 static PyMethodDef __pyx_mdef_10espressomd_12interactions_27validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_27validKeys, METH_O, 0};
13825 static PyObject *__pyx_pw_10espressomd_12interactions_27validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13826 PyObject *__pyx_r = 0;
13827 __Pyx_RefNannyDeclarations
13828 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
13829 __pyx_r = __pyx_pf_10espressomd_12interactions_26validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
13832 __Pyx_RefNannyFinishContext();
13836 static PyObject *__pyx_pf_10espressomd_12interactions_26validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13837 PyObject *__pyx_r = NULL;
13838 __Pyx_RefNannyDeclarations
13839 __Pyx_RefNannySetupContext(
"validKeys", 0);
13848 __Pyx_XDECREF(__pyx_r);
13849 __Pyx_INCREF(__pyx_tuple__52);
13850 __pyx_r = __pyx_tuple__52;
13863 __Pyx_XGIVEREF(__pyx_r);
13864 __Pyx_RefNannyFinishContext();
13877 static PyObject *__pyx_pw_10espressomd_12interactions_29requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
13878 static PyMethodDef __pyx_mdef_10espressomd_12interactions_29requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_29requiredKeys, METH_O, 0};
13879 static PyObject *__pyx_pw_10espressomd_12interactions_29requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13880 PyObject *__pyx_r = 0;
13881 __Pyx_RefNannyDeclarations
13882 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
13883 __pyx_r = __pyx_pf_10espressomd_12interactions_28requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
13886 __Pyx_RefNannyFinishContext();
13890 static PyObject *__pyx_pf_10espressomd_12interactions_28requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
13891 PyObject *__pyx_r = NULL;
13892 __Pyx_RefNannyDeclarations
13893 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
13902 __Pyx_XDECREF(__pyx_r);
13903 __Pyx_INCREF(__pyx_tuple__53);
13904 __pyx_r = __pyx_tuple__53;
13917 __Pyx_XGIVEREF(__pyx_r);
13918 __Pyx_RefNannyFinishContext();
13931 static PyObject *__pyx_pw_10espressomd_12interactions_31setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
13932 static PyMethodDef __pyx_mdef_10espressomd_12interactions_31setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_31setDefaultParams, METH_O, 0};
13933 static PyObject *__pyx_pw_10espressomd_12interactions_31setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
13934 PyObject *__pyx_r = 0;
13935 __Pyx_RefNannyDeclarations
13936 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
13937 __pyx_r = __pyx_pf_10espressomd_12interactions_30setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
13940 __Pyx_RefNannyFinishContext();
13944 static PyObject *__pyx_pf_10espressomd_12interactions_30setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
13945 PyObject *__pyx_r = NULL;
13946 __Pyx_RefNannyDeclarations
13947 PyObject *__pyx_t_1 = NULL;
13948 int __pyx_lineno = 0;
13949 const char *__pyx_filename = NULL;
13950 int __pyx_clineno = 0;
13951 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
13960 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 907; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13961 __Pyx_GOTREF(__pyx_t_1);
13962 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 907; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13963 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 907; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13964 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 907; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
13965 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
13976 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
13979 __Pyx_XDECREF(__pyx_t_1);
13980 __Pyx_AddTraceback(
"espressomd.interactions.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
13983 __Pyx_XGIVEREF(__pyx_r);
13984 __Pyx_RefNannyFinishContext();
13997 static PyObject *__pyx_pw_10espressomd_12interactions_33_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
13998 static PyMethodDef __pyx_mdef_10espressomd_12interactions_33_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_33_getParamsFromEsCore, METH_O, 0};
13999 static PyObject *__pyx_pw_10espressomd_12interactions_33_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14000 PyObject *__pyx_r = 0;
14001 __Pyx_RefNannyDeclarations
14002 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
14003 __pyx_r = __pyx_pf_10espressomd_12interactions_32_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
14006 __Pyx_RefNannyFinishContext();
14010 static PyObject *__pyx_pf_10espressomd_12interactions_32_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14011 PyObject *__pyx_r = NULL;
14012 __Pyx_RefNannyDeclarations
14013 PyObject *__pyx_t_1 = NULL;
14014 PyObject *__pyx_t_2 = NULL;
14015 Py_ssize_t __pyx_t_3;
14016 int __pyx_lineno = 0;
14017 const char *__pyx_filename = NULL;
14018 int __pyx_clineno = 0;
14019 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
14028 __Pyx_XDECREF(__pyx_r);
14037 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 911; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14038 __Pyx_GOTREF(__pyx_t_1);
14039 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 911; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14040 __Pyx_GOTREF(__pyx_t_2);
14041 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 911; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14042 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14043 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.angle_cossquare.bend);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 911; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14044 __Pyx_GOTREF(__pyx_t_2);
14045 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_bend, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 911; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14046 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14055 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 912; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14056 __Pyx_GOTREF(__pyx_t_2);
14057 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 912; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14058 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14059 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.angle_cossquare.phi0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 912; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14060 __Pyx_GOTREF(__pyx_t_2);
14061 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 911; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14062 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14063 __pyx_r = __pyx_t_1;
14077 __Pyx_XDECREF(__pyx_t_1);
14078 __Pyx_XDECREF(__pyx_t_2);
14079 __Pyx_AddTraceback(
"espressomd.interactions._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
14082 __Pyx_XGIVEREF(__pyx_r);
14083 __Pyx_RefNannyFinishContext();
14096 static PyObject *__pyx_pw_10espressomd_12interactions_35_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
14097 static PyMethodDef __pyx_mdef_10espressomd_12interactions_35_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_35_setParamsInEsCore, METH_O, 0};
14098 static PyObject *__pyx_pw_10espressomd_12interactions_35_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14099 PyObject *__pyx_r = 0;
14100 __Pyx_RefNannyDeclarations
14101 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
14102 __pyx_r = __pyx_pf_10espressomd_12interactions_34_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
14105 __Pyx_RefNannyFinishContext();
14109 static PyObject *__pyx_pf_10espressomd_12interactions_34_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14110 PyObject *__pyx_r = NULL;
14111 __Pyx_RefNannyDeclarations
14112 PyObject *__pyx_t_1 = NULL;
14114 PyObject *__pyx_t_3 = NULL;
14117 int __pyx_lineno = 0;
14118 const char *__pyx_filename = NULL;
14119 int __pyx_clineno = 0;
14120 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
14129 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14130 __Pyx_GOTREF(__pyx_t_1);
14131 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14132 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14133 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14134 __Pyx_GOTREF(__pyx_t_1);
14135 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_bend);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
14136 __Pyx_GOTREF(__pyx_t_3);
14137 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14138 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14139 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14140 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14141 __Pyx_GOTREF(__pyx_t_3);
14142 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_phi0);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
14143 __Pyx_GOTREF(__pyx_t_1);
14144 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14145 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 916; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14146 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14166 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
14169 __Pyx_XDECREF(__pyx_t_1);
14170 __Pyx_XDECREF(__pyx_t_3);
14171 __Pyx_AddTraceback(
"espressomd.interactions._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
14174 __Pyx_XGIVEREF(__pyx_r);
14175 __Pyx_RefNannyFinishContext();
14188 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
14189 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_1typeNumber, METH_O, 0};
14190 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14191 PyObject *__pyx_r = 0;
14192 __Pyx_RefNannyDeclarations
14193 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
14194 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
14197 __Pyx_RefNannyFinishContext();
14201 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14202 PyObject *__pyx_r = NULL;
14203 __Pyx_RefNannyDeclarations
14204 __Pyx_RefNannySetupContext(
"typeNumber", 0);
14213 __Pyx_XDECREF(__pyx_r);
14214 __Pyx_INCREF(__pyx_int_16);
14215 __pyx_r = __pyx_int_16;
14228 __Pyx_XGIVEREF(__pyx_r);
14229 __Pyx_RefNannyFinishContext();
14242 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
14243 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_3typeName, METH_O, 0};
14244 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14245 PyObject *__pyx_r = 0;
14246 __Pyx_RefNannyDeclarations
14247 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
14248 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
14251 __Pyx_RefNannyFinishContext();
14255 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14256 PyObject *__pyx_r = NULL;
14257 __Pyx_RefNannyDeclarations
14258 __Pyx_RefNannySetupContext(
"typeName", 0);
14267 __Pyx_XDECREF(__pyx_r);
14268 __Pyx_INCREF(__pyx_n_s_STRETCHING_FORCE);
14269 __pyx_r = __pyx_n_s_STRETCHING_FORCE;
14282 __Pyx_XGIVEREF(__pyx_r);
14283 __Pyx_RefNannyFinishContext();
14296 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
14297 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_5validKeys, METH_O, 0};
14298 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14299 PyObject *__pyx_r = 0;
14300 __Pyx_RefNannyDeclarations
14301 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
14302 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
14305 __Pyx_RefNannyFinishContext();
14309 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14310 PyObject *__pyx_r = NULL;
14311 __Pyx_RefNannyDeclarations
14312 __Pyx_RefNannySetupContext(
"validKeys", 0);
14321 __Pyx_XDECREF(__pyx_r);
14322 __Pyx_INCREF(__pyx_tuple__54);
14323 __pyx_r = __pyx_tuple__54;
14336 __Pyx_XGIVEREF(__pyx_r);
14337 __Pyx_RefNannyFinishContext();
14350 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
14351 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_7requiredKeys, METH_O, 0};
14352 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14353 PyObject *__pyx_r = 0;
14354 __Pyx_RefNannyDeclarations
14355 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
14356 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
14359 __Pyx_RefNannyFinishContext();
14363 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14364 PyObject *__pyx_r = NULL;
14365 __Pyx_RefNannyDeclarations
14366 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
14375 __Pyx_XDECREF(__pyx_r);
14376 __Pyx_INCREF(__pyx_tuple__55);
14377 __pyx_r = __pyx_tuple__55;
14390 __Pyx_XGIVEREF(__pyx_r);
14391 __Pyx_RefNannyFinishContext();
14404 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
14405 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_9setDefaultParams, METH_O, 0};
14406 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14407 PyObject *__pyx_r = 0;
14408 __Pyx_RefNannyDeclarations
14409 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
14410 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
14413 __Pyx_RefNannyFinishContext();
14417 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14418 PyObject *__pyx_r = NULL;
14419 __Pyx_RefNannyDeclarations
14420 PyObject *__pyx_t_1 = NULL;
14421 int __pyx_lineno = 0;
14422 const char *__pyx_filename = NULL;
14423 int __pyx_clineno = 0;
14424 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
14433 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 937; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14434 __Pyx_GOTREF(__pyx_t_1);
14435 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r0, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 937; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14436 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_ks, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 937; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14437 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 937; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14438 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14449 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
14452 __Pyx_XDECREF(__pyx_t_1);
14453 __Pyx_AddTraceback(
"espressomd.interactions.Stretching_Force.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
14456 __Pyx_XGIVEREF(__pyx_r);
14457 __Pyx_RefNannyFinishContext();
14470 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
14471 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_11_getParamsFromEsCore, METH_O, 0};
14472 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14473 PyObject *__pyx_r = 0;
14474 __Pyx_RefNannyDeclarations
14475 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
14476 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
14479 __Pyx_RefNannyFinishContext();
14483 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14484 PyObject *__pyx_r = NULL;
14485 __Pyx_RefNannyDeclarations
14486 PyObject *__pyx_t_1 = NULL;
14487 PyObject *__pyx_t_2 = NULL;
14488 Py_ssize_t __pyx_t_3;
14489 int __pyx_lineno = 0;
14490 const char *__pyx_filename = NULL;
14491 int __pyx_clineno = 0;
14492 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
14501 __Pyx_XDECREF(__pyx_r);
14510 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14511 __Pyx_GOTREF(__pyx_t_1);
14512 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14513 __Pyx_GOTREF(__pyx_t_2);
14514 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14515 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14516 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.stretching_force.r0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14517 __Pyx_GOTREF(__pyx_t_2);
14518 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14519 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14528 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 942; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14529 __Pyx_GOTREF(__pyx_t_2);
14530 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 942; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14531 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14532 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.stretching_force.ks);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 942; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14533 __Pyx_GOTREF(__pyx_t_2);
14534 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_ks, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 941; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14535 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14536 __pyx_r = __pyx_t_1;
14550 __Pyx_XDECREF(__pyx_t_1);
14551 __Pyx_XDECREF(__pyx_t_2);
14552 __Pyx_AddTraceback(
"espressomd.interactions.Stretching_Force._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
14555 __Pyx_XGIVEREF(__pyx_r);
14556 __Pyx_RefNannyFinishContext();
14569 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
14570 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretching_Force_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretching_Force_13_setParamsInEsCore, METH_O, 0};
14571 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretching_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14572 PyObject *__pyx_r = 0;
14573 __Pyx_RefNannyDeclarations
14574 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
14575 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretching_Force_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
14578 __Pyx_RefNannyFinishContext();
14582 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretching_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14583 PyObject *__pyx_r = NULL;
14584 __Pyx_RefNannyDeclarations
14585 PyObject *__pyx_t_1 = NULL;
14587 PyObject *__pyx_t_3 = NULL;
14590 int __pyx_lineno = 0;
14591 const char *__pyx_filename = NULL;
14592 int __pyx_clineno = 0;
14593 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
14602 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14603 __Pyx_GOTREF(__pyx_t_1);
14604 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14605 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14606 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14607 __Pyx_GOTREF(__pyx_t_1);
14608 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_r0);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
14609 __Pyx_GOTREF(__pyx_t_3);
14610 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14611 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14612 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14613 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14614 __Pyx_GOTREF(__pyx_t_3);
14615 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_ks);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
14616 __Pyx_GOTREF(__pyx_t_1);
14617 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
14618 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14619 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14639 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
14642 __Pyx_XDECREF(__pyx_t_1);
14643 __Pyx_XDECREF(__pyx_t_3);
14644 __Pyx_AddTraceback(
"espressomd.interactions.Stretching_Force._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
14647 __Pyx_XGIVEREF(__pyx_r);
14648 __Pyx_RefNannyFinishContext();
14661 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
14662 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_1typeNumber, METH_O, 0};
14663 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14664 PyObject *__pyx_r = 0;
14665 __Pyx_RefNannyDeclarations
14666 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
14667 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
14670 __Pyx_RefNannyFinishContext();
14674 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14675 PyObject *__pyx_r = NULL;
14676 __Pyx_RefNannyDeclarations
14677 __Pyx_RefNannySetupContext(
"typeNumber", 0);
14686 __Pyx_XDECREF(__pyx_r);
14687 __Pyx_INCREF(__pyx_int_17);
14688 __pyx_r = __pyx_int_17;
14701 __Pyx_XGIVEREF(__pyx_r);
14702 __Pyx_RefNannyFinishContext();
14715 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
14716 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_3typeName, METH_O, 0};
14717 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14718 PyObject *__pyx_r = 0;
14719 __Pyx_RefNannyDeclarations
14720 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
14721 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
14724 __Pyx_RefNannyFinishContext();
14728 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14729 PyObject *__pyx_r = NULL;
14730 __Pyx_RefNannyDeclarations
14731 __Pyx_RefNannySetupContext(
"typeName", 0);
14740 __Pyx_XDECREF(__pyx_r);
14741 __Pyx_INCREF(__pyx_n_s_AREA_FORCE_LOCAL);
14742 __pyx_r = __pyx_n_s_AREA_FORCE_LOCAL;
14755 __Pyx_XGIVEREF(__pyx_r);
14756 __Pyx_RefNannyFinishContext();
14769 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
14770 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_5validKeys, METH_O, 0};
14771 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14772 PyObject *__pyx_r = 0;
14773 __Pyx_RefNannyDeclarations
14774 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
14775 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
14778 __Pyx_RefNannyFinishContext();
14782 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14783 PyObject *__pyx_r = NULL;
14784 __Pyx_RefNannyDeclarations
14785 __Pyx_RefNannySetupContext(
"validKeys", 0);
14794 __Pyx_XDECREF(__pyx_r);
14795 __Pyx_INCREF(__pyx_tuple__56);
14796 __pyx_r = __pyx_tuple__56;
14809 __Pyx_XGIVEREF(__pyx_r);
14810 __Pyx_RefNannyFinishContext();
14823 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
14824 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_7requiredKeys, METH_O, 0};
14825 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14826 PyObject *__pyx_r = 0;
14827 __Pyx_RefNannyDeclarations
14828 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
14829 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
14832 __Pyx_RefNannyFinishContext();
14836 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
14837 PyObject *__pyx_r = NULL;
14838 __Pyx_RefNannyDeclarations
14839 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
14848 __Pyx_XDECREF(__pyx_r);
14849 __Pyx_INCREF(__pyx_tuple__57);
14850 __pyx_r = __pyx_tuple__57;
14863 __Pyx_XGIVEREF(__pyx_r);
14864 __Pyx_RefNannyFinishContext();
14877 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
14878 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_9setDefaultParams, METH_O, 0};
14879 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14880 PyObject *__pyx_r = 0;
14881 __Pyx_RefNannyDeclarations
14882 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
14883 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
14886 __Pyx_RefNannyFinishContext();
14890 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14891 PyObject *__pyx_r = NULL;
14892 __Pyx_RefNannyDeclarations
14893 PyObject *__pyx_t_1 = NULL;
14894 int __pyx_lineno = 0;
14895 const char *__pyx_filename = NULL;
14896 int __pyx_clineno = 0;
14897 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
14906 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 964; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14907 __Pyx_GOTREF(__pyx_t_1);
14908 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_A0_l, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 964; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14909 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_ka_l, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 964; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14910 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 964; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14911 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
14922 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
14925 __Pyx_XDECREF(__pyx_t_1);
14926 __Pyx_AddTraceback(
"espressomd.interactions.Area_Force_Local.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
14929 __Pyx_XGIVEREF(__pyx_r);
14930 __Pyx_RefNannyFinishContext();
14943 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
14944 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_11_getParamsFromEsCore, METH_O, 0};
14945 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
14946 PyObject *__pyx_r = 0;
14947 __Pyx_RefNannyDeclarations
14948 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
14949 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
14952 __Pyx_RefNannyFinishContext();
14956 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
14957 PyObject *__pyx_r = NULL;
14958 __Pyx_RefNannyDeclarations
14959 PyObject *__pyx_t_1 = NULL;
14960 PyObject *__pyx_t_2 = NULL;
14961 Py_ssize_t __pyx_t_3;
14962 int __pyx_lineno = 0;
14963 const char *__pyx_filename = NULL;
14964 int __pyx_clineno = 0;
14965 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
14974 __Pyx_XDECREF(__pyx_r);
14983 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14984 __Pyx_GOTREF(__pyx_t_1);
14985 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14986 __Pyx_GOTREF(__pyx_t_2);
14987 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14988 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
14989 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.area_force_local.A0_l);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14990 __Pyx_GOTREF(__pyx_t_2);
14991 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_A0_l, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
14992 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15001 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 969; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15002 __Pyx_GOTREF(__pyx_t_2);
15003 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 969; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15004 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15005 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.area_force_local.ka_l);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 969; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15006 __Pyx_GOTREF(__pyx_t_2);
15007 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_ka_l, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 968; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15008 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15009 __pyx_r = __pyx_t_1;
15023 __Pyx_XDECREF(__pyx_t_1);
15024 __Pyx_XDECREF(__pyx_t_2);
15025 __Pyx_AddTraceback(
"espressomd.interactions.Area_Force_Local._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
15028 __Pyx_XGIVEREF(__pyx_r);
15029 __Pyx_RefNannyFinishContext();
15042 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
15043 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Area_Force_Local_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Area_Force_Local_13_setParamsInEsCore, METH_O, 0};
15044 static PyObject *__pyx_pw_10espressomd_12interactions_16Area_Force_Local_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15045 PyObject *__pyx_r = 0;
15046 __Pyx_RefNannyDeclarations
15047 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
15048 __pyx_r = __pyx_pf_10espressomd_12interactions_16Area_Force_Local_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
15051 __Pyx_RefNannyFinishContext();
15055 static PyObject *__pyx_pf_10espressomd_12interactions_16Area_Force_Local_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
15056 PyObject *__pyx_r = NULL;
15057 __Pyx_RefNannyDeclarations
15058 PyObject *__pyx_t_1 = NULL;
15060 PyObject *__pyx_t_3 = NULL;
15063 int __pyx_lineno = 0;
15064 const char *__pyx_filename = NULL;
15065 int __pyx_clineno = 0;
15066 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
15075 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15076 __Pyx_GOTREF(__pyx_t_1);
15077 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15078 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15079 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15080 __Pyx_GOTREF(__pyx_t_1);
15081 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_A0_l);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
15082 __Pyx_GOTREF(__pyx_t_3);
15083 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15084 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15085 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15086 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15087 __Pyx_GOTREF(__pyx_t_3);
15088 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_ka_l);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
15089 __Pyx_GOTREF(__pyx_t_1);
15090 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15091 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 973; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15092 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15112 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
15115 __Pyx_XDECREF(__pyx_t_1);
15116 __Pyx_XDECREF(__pyx_t_3);
15117 __Pyx_AddTraceback(
"espressomd.interactions.Area_Force_Local._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
15120 __Pyx_XGIVEREF(__pyx_r);
15121 __Pyx_RefNannyFinishContext();
15134 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
15135 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_1typeNumber, METH_O, 0};
15136 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15137 PyObject *__pyx_r = 0;
15138 __Pyx_RefNannyDeclarations
15139 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
15140 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
15143 __Pyx_RefNannyFinishContext();
15147 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15148 PyObject *__pyx_r = NULL;
15149 __Pyx_RefNannyDeclarations
15150 __Pyx_RefNannySetupContext(
"typeNumber", 0);
15159 __Pyx_XDECREF(__pyx_r);
15160 __Pyx_INCREF(__pyx_int_18);
15161 __pyx_r = __pyx_int_18;
15174 __Pyx_XGIVEREF(__pyx_r);
15175 __Pyx_RefNannyFinishContext();
15188 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
15189 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_3typeName, METH_O, 0};
15190 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15191 PyObject *__pyx_r = 0;
15192 __Pyx_RefNannyDeclarations
15193 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
15194 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
15197 __Pyx_RefNannyFinishContext();
15201 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15202 PyObject *__pyx_r = NULL;
15203 __Pyx_RefNannyDeclarations
15204 __Pyx_RefNannySetupContext(
"typeName", 0);
15213 __Pyx_XDECREF(__pyx_r);
15214 __Pyx_INCREF(__pyx_n_s_BENDING_FORCE);
15215 __pyx_r = __pyx_n_s_BENDING_FORCE;
15228 __Pyx_XGIVEREF(__pyx_r);
15229 __Pyx_RefNannyFinishContext();
15242 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
15243 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_5validKeys, METH_O, 0};
15244 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15245 PyObject *__pyx_r = 0;
15246 __Pyx_RefNannyDeclarations
15247 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
15248 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
15251 __Pyx_RefNannyFinishContext();
15255 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15256 PyObject *__pyx_r = NULL;
15257 __Pyx_RefNannyDeclarations
15258 __Pyx_RefNannySetupContext(
"validKeys", 0);
15267 __Pyx_XDECREF(__pyx_r);
15268 __Pyx_INCREF(__pyx_tuple__58);
15269 __pyx_r = __pyx_tuple__58;
15282 __Pyx_XGIVEREF(__pyx_r);
15283 __Pyx_RefNannyFinishContext();
15296 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
15297 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_7requiredKeys, METH_O, 0};
15298 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15299 PyObject *__pyx_r = 0;
15300 __Pyx_RefNannyDeclarations
15301 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
15302 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
15305 __Pyx_RefNannyFinishContext();
15309 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15310 PyObject *__pyx_r = NULL;
15311 __Pyx_RefNannyDeclarations
15312 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
15321 __Pyx_XDECREF(__pyx_r);
15322 __Pyx_INCREF(__pyx_tuple__59);
15323 __pyx_r = __pyx_tuple__59;
15336 __Pyx_XGIVEREF(__pyx_r);
15337 __Pyx_RefNannyFinishContext();
15350 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
15351 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_9setDefaultParams, METH_O, 0};
15352 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15353 PyObject *__pyx_r = 0;
15354 __Pyx_RefNannyDeclarations
15355 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
15356 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
15359 __Pyx_RefNannyFinishContext();
15363 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
15364 PyObject *__pyx_r = NULL;
15365 __Pyx_RefNannyDeclarations
15366 PyObject *__pyx_t_1 = NULL;
15367 int __pyx_lineno = 0;
15368 const char *__pyx_filename = NULL;
15369 int __pyx_clineno = 0;
15370 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
15379 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 991; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15380 __Pyx_GOTREF(__pyx_t_1);
15381 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 991; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15382 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_kb, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 991; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15383 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 991; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15384 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15395 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
15398 __Pyx_XDECREF(__pyx_t_1);
15399 __Pyx_AddTraceback(
"espressomd.interactions.Bending_Force.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
15402 __Pyx_XGIVEREF(__pyx_r);
15403 __Pyx_RefNannyFinishContext();
15416 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
15417 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_11_getParamsFromEsCore, METH_O, 0};
15418 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15419 PyObject *__pyx_r = 0;
15420 __Pyx_RefNannyDeclarations
15421 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
15422 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
15425 __Pyx_RefNannyFinishContext();
15429 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
15430 PyObject *__pyx_r = NULL;
15431 __Pyx_RefNannyDeclarations
15432 PyObject *__pyx_t_1 = NULL;
15433 PyObject *__pyx_t_2 = NULL;
15434 Py_ssize_t __pyx_t_3;
15435 int __pyx_lineno = 0;
15436 const char *__pyx_filename = NULL;
15437 int __pyx_clineno = 0;
15438 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
15447 __Pyx_XDECREF(__pyx_r);
15456 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15457 __Pyx_GOTREF(__pyx_t_1);
15458 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15459 __Pyx_GOTREF(__pyx_t_2);
15460 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15461 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15462 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.bending_force.phi0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15463 __Pyx_GOTREF(__pyx_t_2);
15464 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_phi0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15465 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15474 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 996; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15475 __Pyx_GOTREF(__pyx_t_2);
15476 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 996; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15477 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15478 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.bending_force.kb);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 996; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15479 __Pyx_GOTREF(__pyx_t_2);
15480 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_kb, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 995; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15481 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15482 __pyx_r = __pyx_t_1;
15496 __Pyx_XDECREF(__pyx_t_1);
15497 __Pyx_XDECREF(__pyx_t_2);
15498 __Pyx_AddTraceback(
"espressomd.interactions.Bending_Force._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
15501 __Pyx_XGIVEREF(__pyx_r);
15502 __Pyx_RefNannyFinishContext();
15515 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
15516 static PyMethodDef __pyx_mdef_10espressomd_12interactions_13Bending_Force_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_13Bending_Force_13_setParamsInEsCore, METH_O, 0};
15517 static PyObject *__pyx_pw_10espressomd_12interactions_13Bending_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15518 PyObject *__pyx_r = 0;
15519 __Pyx_RefNannyDeclarations
15520 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
15521 __pyx_r = __pyx_pf_10espressomd_12interactions_13Bending_Force_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
15524 __Pyx_RefNannyFinishContext();
15528 static PyObject *__pyx_pf_10espressomd_12interactions_13Bending_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
15529 PyObject *__pyx_r = NULL;
15530 __Pyx_RefNannyDeclarations
15531 PyObject *__pyx_t_1 = NULL;
15533 PyObject *__pyx_t_3 = NULL;
15536 int __pyx_lineno = 0;
15537 const char *__pyx_filename = NULL;
15538 int __pyx_clineno = 0;
15539 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
15548 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15549 __Pyx_GOTREF(__pyx_t_1);
15550 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15551 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15552 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15553 __Pyx_GOTREF(__pyx_t_1);
15554 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_phi0);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
15555 __Pyx_GOTREF(__pyx_t_3);
15556 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15557 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15558 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15559 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15560 __Pyx_GOTREF(__pyx_t_3);
15561 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_kb);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
15562 __Pyx_GOTREF(__pyx_t_1);
15563 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
15564 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1000; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15565 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15585 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
15588 __Pyx_XDECREF(__pyx_t_1);
15589 __Pyx_XDECREF(__pyx_t_3);
15590 __Pyx_AddTraceback(
"espressomd.interactions.Bending_Force._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
15593 __Pyx_XGIVEREF(__pyx_r);
15594 __Pyx_RefNannyFinishContext();
15607 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
15608 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_1typeNumber, METH_O, 0};
15609 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15610 PyObject *__pyx_r = 0;
15611 __Pyx_RefNannyDeclarations
15612 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
15613 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
15616 __Pyx_RefNannyFinishContext();
15620 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15621 PyObject *__pyx_r = NULL;
15622 __Pyx_RefNannyDeclarations
15623 __Pyx_RefNannySetupContext(
"typeNumber", 0);
15632 __Pyx_XDECREF(__pyx_r);
15633 __Pyx_INCREF(__pyx_int_19);
15634 __pyx_r = __pyx_int_19;
15647 __Pyx_XGIVEREF(__pyx_r);
15648 __Pyx_RefNannyFinishContext();
15661 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
15662 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_3typeName, METH_O, 0};
15663 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15664 PyObject *__pyx_r = 0;
15665 __Pyx_RefNannyDeclarations
15666 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
15667 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
15670 __Pyx_RefNannyFinishContext();
15674 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15675 PyObject *__pyx_r = NULL;
15676 __Pyx_RefNannyDeclarations
15677 __Pyx_RefNannySetupContext(
"typeName", 0);
15686 __Pyx_XDECREF(__pyx_r);
15687 __Pyx_INCREF(__pyx_n_s_VOLUME_FORCE);
15688 __pyx_r = __pyx_n_s_VOLUME_FORCE;
15701 __Pyx_XGIVEREF(__pyx_r);
15702 __Pyx_RefNannyFinishContext();
15715 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
15716 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_5validKeys, METH_O, 0};
15717 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15718 PyObject *__pyx_r = 0;
15719 __Pyx_RefNannyDeclarations
15720 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
15721 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
15724 __Pyx_RefNannyFinishContext();
15728 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15729 PyObject *__pyx_r = NULL;
15730 __Pyx_RefNannyDeclarations
15731 __Pyx_RefNannySetupContext(
"validKeys", 0);
15740 __Pyx_XDECREF(__pyx_r);
15741 __Pyx_INCREF(__pyx_tuple__60);
15742 __pyx_r = __pyx_tuple__60;
15755 __Pyx_XGIVEREF(__pyx_r);
15756 __Pyx_RefNannyFinishContext();
15769 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
15770 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_7requiredKeys, METH_O, 0};
15771 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15772 PyObject *__pyx_r = 0;
15773 __Pyx_RefNannyDeclarations
15774 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
15775 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
15778 __Pyx_RefNannyFinishContext();
15782 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
15783 PyObject *__pyx_r = NULL;
15784 __Pyx_RefNannyDeclarations
15785 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
15794 __Pyx_XDECREF(__pyx_r);
15795 __Pyx_INCREF(__pyx_tuple__61);
15796 __pyx_r = __pyx_tuple__61;
15809 __Pyx_XGIVEREF(__pyx_r);
15810 __Pyx_RefNannyFinishContext();
15823 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
15824 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_9setDefaultParams, METH_O, 0};
15825 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15826 PyObject *__pyx_r = 0;
15827 __Pyx_RefNannyDeclarations
15828 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
15829 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
15832 __Pyx_RefNannyFinishContext();
15836 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
15837 PyObject *__pyx_r = NULL;
15838 __Pyx_RefNannyDeclarations
15839 PyObject *__pyx_t_1 = NULL;
15840 int __pyx_lineno = 0;
15841 const char *__pyx_filename = NULL;
15842 int __pyx_clineno = 0;
15843 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
15852 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15853 __Pyx_GOTREF(__pyx_t_1);
15854 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_V0, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15855 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_kv, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15856 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1018; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15857 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
15868 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
15871 __Pyx_XDECREF(__pyx_t_1);
15872 __Pyx_AddTraceback(
"espressomd.interactions.Volume_Force.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
15875 __Pyx_XGIVEREF(__pyx_r);
15876 __Pyx_RefNannyFinishContext();
15889 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
15890 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_11_getParamsFromEsCore, METH_O, 0};
15891 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15892 PyObject *__pyx_r = 0;
15893 __Pyx_RefNannyDeclarations
15894 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
15895 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
15898 __Pyx_RefNannyFinishContext();
15902 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
15903 PyObject *__pyx_r = NULL;
15904 __Pyx_RefNannyDeclarations
15905 PyObject *__pyx_t_1 = NULL;
15906 PyObject *__pyx_t_2 = NULL;
15907 Py_ssize_t __pyx_t_3;
15908 int __pyx_lineno = 0;
15909 const char *__pyx_filename = NULL;
15910 int __pyx_clineno = 0;
15911 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
15920 __Pyx_XDECREF(__pyx_r);
15929 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15930 __Pyx_GOTREF(__pyx_t_1);
15931 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15932 __Pyx_GOTREF(__pyx_t_2);
15933 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15934 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15935 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.volume_force.V0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15936 __Pyx_GOTREF(__pyx_t_2);
15937 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_V0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15938 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15947 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15948 __Pyx_GOTREF(__pyx_t_2);
15949 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15950 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15951 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.volume_force.kv);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1023; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15952 __Pyx_GOTREF(__pyx_t_2);
15953 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_kv, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1022; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
15954 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
15955 __pyx_r = __pyx_t_1;
15969 __Pyx_XDECREF(__pyx_t_1);
15970 __Pyx_XDECREF(__pyx_t_2);
15971 __Pyx_AddTraceback(
"espressomd.interactions.Volume_Force._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
15974 __Pyx_XGIVEREF(__pyx_r);
15975 __Pyx_RefNannyFinishContext();
15988 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
15989 static PyMethodDef __pyx_mdef_10espressomd_12interactions_12Volume_Force_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_12Volume_Force_13_setParamsInEsCore, METH_O, 0};
15990 static PyObject *__pyx_pw_10espressomd_12interactions_12Volume_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
15991 PyObject *__pyx_r = 0;
15992 __Pyx_RefNannyDeclarations
15993 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
15994 __pyx_r = __pyx_pf_10espressomd_12interactions_12Volume_Force_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
15997 __Pyx_RefNannyFinishContext();
16001 static PyObject *__pyx_pf_10espressomd_12interactions_12Volume_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16002 PyObject *__pyx_r = NULL;
16003 __Pyx_RefNannyDeclarations
16004 PyObject *__pyx_t_1 = NULL;
16006 PyObject *__pyx_t_3 = NULL;
16009 int __pyx_lineno = 0;
16010 const char *__pyx_filename = NULL;
16011 int __pyx_clineno = 0;
16012 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
16021 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16022 __Pyx_GOTREF(__pyx_t_1);
16023 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16024 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16025 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16026 __Pyx_GOTREF(__pyx_t_1);
16027 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_V0);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
16028 __Pyx_GOTREF(__pyx_t_3);
16029 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16030 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16031 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16032 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16033 __Pyx_GOTREF(__pyx_t_3);
16034 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_kv);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
16035 __Pyx_GOTREF(__pyx_t_1);
16036 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16037 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1027; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16038 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16058 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
16061 __Pyx_XDECREF(__pyx_t_1);
16062 __Pyx_XDECREF(__pyx_t_3);
16063 __Pyx_AddTraceback(
"espressomd.interactions.Volume_Force._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
16066 __Pyx_XGIVEREF(__pyx_r);
16067 __Pyx_RefNannyFinishContext();
16080 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
16081 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_1typeNumber, METH_O, 0};
16082 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16083 PyObject *__pyx_r = 0;
16084 __Pyx_RefNannyDeclarations
16085 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
16086 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
16089 __Pyx_RefNannyFinishContext();
16093 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16094 PyObject *__pyx_r = NULL;
16095 __Pyx_RefNannyDeclarations
16096 __Pyx_RefNannySetupContext(
"typeNumber", 0);
16105 __Pyx_XDECREF(__pyx_r);
16106 __Pyx_INCREF(__pyx_int_20);
16107 __pyx_r = __pyx_int_20;
16120 __Pyx_XGIVEREF(__pyx_r);
16121 __Pyx_RefNannyFinishContext();
16134 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
16135 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_3typeName, METH_O, 0};
16136 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16137 PyObject *__pyx_r = 0;
16138 __Pyx_RefNannyDeclarations
16139 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
16140 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
16143 __Pyx_RefNannyFinishContext();
16147 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16148 PyObject *__pyx_r = NULL;
16149 __Pyx_RefNannyDeclarations
16150 __Pyx_RefNannySetupContext(
"typeName", 0);
16159 __Pyx_XDECREF(__pyx_r);
16160 __Pyx_INCREF(__pyx_n_s_AREA_FORCE_GLOBAL);
16161 __pyx_r = __pyx_n_s_AREA_FORCE_GLOBAL;
16174 __Pyx_XGIVEREF(__pyx_r);
16175 __Pyx_RefNannyFinishContext();
16188 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
16189 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_5validKeys, METH_O, 0};
16190 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16191 PyObject *__pyx_r = 0;
16192 __Pyx_RefNannyDeclarations
16193 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
16194 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
16197 __Pyx_RefNannyFinishContext();
16201 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16202 PyObject *__pyx_r = NULL;
16203 __Pyx_RefNannyDeclarations
16204 __Pyx_RefNannySetupContext(
"validKeys", 0);
16213 __Pyx_XDECREF(__pyx_r);
16214 __Pyx_INCREF(__pyx_tuple__62);
16215 __pyx_r = __pyx_tuple__62;
16228 __Pyx_XGIVEREF(__pyx_r);
16229 __Pyx_RefNannyFinishContext();
16242 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
16243 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_7requiredKeys, METH_O, 0};
16244 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16245 PyObject *__pyx_r = 0;
16246 __Pyx_RefNannyDeclarations
16247 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
16248 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
16251 __Pyx_RefNannyFinishContext();
16255 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16256 PyObject *__pyx_r = NULL;
16257 __Pyx_RefNannyDeclarations
16258 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
16267 __Pyx_XDECREF(__pyx_r);
16268 __Pyx_INCREF(__pyx_tuple__63);
16269 __pyx_r = __pyx_tuple__63;
16282 __Pyx_XGIVEREF(__pyx_r);
16283 __Pyx_RefNannyFinishContext();
16296 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
16297 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_9setDefaultParams, METH_O, 0};
16298 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16299 PyObject *__pyx_r = 0;
16300 __Pyx_RefNannyDeclarations
16301 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
16302 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
16305 __Pyx_RefNannyFinishContext();
16309 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16310 PyObject *__pyx_r = NULL;
16311 __Pyx_RefNannyDeclarations
16312 PyObject *__pyx_t_1 = NULL;
16313 int __pyx_lineno = 0;
16314 const char *__pyx_filename = NULL;
16315 int __pyx_clineno = 0;
16316 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
16325 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16326 __Pyx_GOTREF(__pyx_t_1);
16327 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_A0_g, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16328 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_ka_g, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16329 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1045; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16330 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16341 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
16344 __Pyx_XDECREF(__pyx_t_1);
16345 __Pyx_AddTraceback(
"espressomd.interactions.Area_Force_Global.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
16348 __Pyx_XGIVEREF(__pyx_r);
16349 __Pyx_RefNannyFinishContext();
16362 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
16363 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_11_getParamsFromEsCore, METH_O, 0};
16364 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16365 PyObject *__pyx_r = 0;
16366 __Pyx_RefNannyDeclarations
16367 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
16368 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
16371 __Pyx_RefNannyFinishContext();
16375 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16376 PyObject *__pyx_r = NULL;
16377 __Pyx_RefNannyDeclarations
16378 PyObject *__pyx_t_1 = NULL;
16379 PyObject *__pyx_t_2 = NULL;
16380 Py_ssize_t __pyx_t_3;
16381 int __pyx_lineno = 0;
16382 const char *__pyx_filename = NULL;
16383 int __pyx_clineno = 0;
16384 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
16393 __Pyx_XDECREF(__pyx_r);
16402 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16403 __Pyx_GOTREF(__pyx_t_1);
16404 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16405 __Pyx_GOTREF(__pyx_t_2);
16406 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16407 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16408 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.area_force_global.A0_g);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16409 __Pyx_GOTREF(__pyx_t_2);
16410 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_A0_g, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16411 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16420 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16421 __Pyx_GOTREF(__pyx_t_2);
16422 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16423 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16424 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.area_force_global.ka_g);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1050; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16425 __Pyx_GOTREF(__pyx_t_2);
16426 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_ka_g, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1049; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16427 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16428 __pyx_r = __pyx_t_1;
16442 __Pyx_XDECREF(__pyx_t_1);
16443 __Pyx_XDECREF(__pyx_t_2);
16444 __Pyx_AddTraceback(
"espressomd.interactions.Area_Force_Global._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
16447 __Pyx_XGIVEREF(__pyx_r);
16448 __Pyx_RefNannyFinishContext();
16461 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
16462 static PyMethodDef __pyx_mdef_10espressomd_12interactions_17Area_Force_Global_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_17Area_Force_Global_13_setParamsInEsCore, METH_O, 0};
16463 static PyObject *__pyx_pw_10espressomd_12interactions_17Area_Force_Global_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16464 PyObject *__pyx_r = 0;
16465 __Pyx_RefNannyDeclarations
16466 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
16467 __pyx_r = __pyx_pf_10espressomd_12interactions_17Area_Force_Global_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
16470 __Pyx_RefNannyFinishContext();
16474 static PyObject *__pyx_pf_10espressomd_12interactions_17Area_Force_Global_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16475 PyObject *__pyx_r = NULL;
16476 __Pyx_RefNannyDeclarations
16477 PyObject *__pyx_t_1 = NULL;
16479 PyObject *__pyx_t_3 = NULL;
16482 int __pyx_lineno = 0;
16483 const char *__pyx_filename = NULL;
16484 int __pyx_clineno = 0;
16485 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
16494 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16495 __Pyx_GOTREF(__pyx_t_1);
16496 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16497 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16498 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16499 __Pyx_GOTREF(__pyx_t_1);
16500 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_A0_g);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
16501 __Pyx_GOTREF(__pyx_t_3);
16502 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16503 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16504 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16505 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16506 __Pyx_GOTREF(__pyx_t_3);
16507 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_ka_g);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
16508 __Pyx_GOTREF(__pyx_t_1);
16509 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16510 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1054; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16511 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16531 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
16534 __Pyx_XDECREF(__pyx_t_1);
16535 __Pyx_XDECREF(__pyx_t_3);
16536 __Pyx_AddTraceback(
"espressomd.interactions.Area_Force_Global._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
16539 __Pyx_XGIVEREF(__pyx_r);
16540 __Pyx_RefNannyFinishContext();
16553 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self);
16554 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_1typeNumber = {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_1typeNumber, METH_O, 0};
16555 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_1typeNumber(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16556 PyObject *__pyx_r = 0;
16557 __Pyx_RefNannyDeclarations
16558 __Pyx_RefNannySetupContext(
"typeNumber (wrapper)", 0);
16559 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_typeNumber(__pyx_self, ((PyObject *)__pyx_v_self));
16562 __Pyx_RefNannyFinishContext();
16566 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_typeNumber(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16567 PyObject *__pyx_r = NULL;
16568 __Pyx_RefNannyDeclarations
16569 __Pyx_RefNannySetupContext(
"typeNumber", 0);
16578 __Pyx_XDECREF(__pyx_r);
16579 __Pyx_INCREF(__pyx_int_21);
16580 __pyx_r = __pyx_int_21;
16593 __Pyx_XGIVEREF(__pyx_r);
16594 __Pyx_RefNannyFinishContext();
16607 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self);
16608 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_3typeName = {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_3typeName, METH_O, 0};
16609 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_3typeName(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16610 PyObject *__pyx_r = 0;
16611 __Pyx_RefNannyDeclarations
16612 __Pyx_RefNannySetupContext(
"typeName (wrapper)", 0);
16613 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_2typeName(__pyx_self, ((PyObject *)__pyx_v_self));
16616 __Pyx_RefNannyFinishContext();
16620 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_2typeName(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16621 PyObject *__pyx_r = NULL;
16622 __Pyx_RefNannyDeclarations
16623 __Pyx_RefNannySetupContext(
"typeName", 0);
16632 __Pyx_XDECREF(__pyx_r);
16633 __Pyx_INCREF(__pyx_n_s_STRETCHLIN_FORCE);
16634 __pyx_r = __pyx_n_s_STRETCHLIN_FORCE;
16647 __Pyx_XGIVEREF(__pyx_r);
16648 __Pyx_RefNannyFinishContext();
16661 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
16662 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_5validKeys = {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_5validKeys, METH_O, 0};
16663 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_5validKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16664 PyObject *__pyx_r = 0;
16665 __Pyx_RefNannyDeclarations
16666 __Pyx_RefNannySetupContext(
"validKeys (wrapper)", 0);
16667 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_4validKeys(__pyx_self, ((PyObject *)__pyx_v_self));
16670 __Pyx_RefNannyFinishContext();
16674 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_4validKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16675 PyObject *__pyx_r = NULL;
16676 __Pyx_RefNannyDeclarations
16677 __Pyx_RefNannySetupContext(
"validKeys", 0);
16686 __Pyx_XDECREF(__pyx_r);
16687 __Pyx_INCREF(__pyx_tuple__64);
16688 __pyx_r = __pyx_tuple__64;
16701 __Pyx_XGIVEREF(__pyx_r);
16702 __Pyx_RefNannyFinishContext();
16715 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self);
16716 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_7requiredKeys = {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_7requiredKeys, METH_O, 0};
16717 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_7requiredKeys(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16718 PyObject *__pyx_r = 0;
16719 __Pyx_RefNannyDeclarations
16720 __Pyx_RefNannySetupContext(
"requiredKeys (wrapper)", 0);
16721 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_6requiredKeys(__pyx_self, ((PyObject *)__pyx_v_self));
16724 __Pyx_RefNannyFinishContext();
16728 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_6requiredKeys(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
16729 PyObject *__pyx_r = NULL;
16730 __Pyx_RefNannyDeclarations
16731 __Pyx_RefNannySetupContext(
"requiredKeys", 0);
16740 __Pyx_XDECREF(__pyx_r);
16741 __Pyx_INCREF(__pyx_tuple__65);
16742 __pyx_r = __pyx_tuple__65;
16755 __Pyx_XGIVEREF(__pyx_r);
16756 __Pyx_RefNannyFinishContext();
16769 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self);
16770 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_9setDefaultParams = {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_9setDefaultParams, METH_O, 0};
16771 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_9setDefaultParams(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16772 PyObject *__pyx_r = 0;
16773 __Pyx_RefNannyDeclarations
16774 __Pyx_RefNannySetupContext(
"setDefaultParams (wrapper)", 0);
16775 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_8setDefaultParams(__pyx_self, ((PyObject *)__pyx_v_self));
16778 __Pyx_RefNannyFinishContext();
16782 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_8setDefaultParams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16783 PyObject *__pyx_r = NULL;
16784 __Pyx_RefNannyDeclarations
16785 PyObject *__pyx_t_1 = NULL;
16786 int __pyx_lineno = 0;
16787 const char *__pyx_filename = NULL;
16788 int __pyx_clineno = 0;
16789 __Pyx_RefNannySetupContext(
"setDefaultParams", 0);
16798 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16799 __Pyx_GOTREF(__pyx_t_1);
16800 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r0, __pyx_float_1_) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16801 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_kslin, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16802 if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_params, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1072; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16803 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16814 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
16817 __Pyx_XDECREF(__pyx_t_1);
16818 __Pyx_AddTraceback(
"espressomd.interactions.Stretchlin_Force.setDefaultParams", __pyx_clineno, __pyx_lineno, __pyx_filename);
16821 __Pyx_XGIVEREF(__pyx_r);
16822 __Pyx_RefNannyFinishContext();
16835 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
16836 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_11_getParamsFromEsCore = {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_11_getParamsFromEsCore, METH_O, 0};
16837 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_11_getParamsFromEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16838 PyObject *__pyx_r = 0;
16839 __Pyx_RefNannyDeclarations
16840 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore (wrapper)", 0);
16841 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_10_getParamsFromEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
16844 __Pyx_RefNannyFinishContext();
16848 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_10_getParamsFromEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16849 PyObject *__pyx_r = NULL;
16850 __Pyx_RefNannyDeclarations
16851 PyObject *__pyx_t_1 = NULL;
16852 PyObject *__pyx_t_2 = NULL;
16853 Py_ssize_t __pyx_t_3;
16854 int __pyx_lineno = 0;
16855 const char *__pyx_filename = NULL;
16856 int __pyx_clineno = 0;
16857 __Pyx_RefNannySetupContext(
"_getParamsFromEsCore", 0);
16866 __Pyx_XDECREF(__pyx_r);
16875 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16876 __Pyx_GOTREF(__pyx_t_1);
16877 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16878 __Pyx_GOTREF(__pyx_t_2);
16879 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16880 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16881 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.stretchlin_force.r0);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16882 __Pyx_GOTREF(__pyx_t_2);
16883 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_r0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16884 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16893 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1077; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16894 __Pyx_GOTREF(__pyx_t_2);
16895 __pyx_t_3 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2);
if (unlikely((__pyx_t_3 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1077; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16896 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16897 __pyx_t_2 = PyFloat_FromDouble((
bonded_ia_params[__pyx_t_3]).p.stretchlin_force.kslin);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1077; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16898 __Pyx_GOTREF(__pyx_t_2);
16899 if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_kslin, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1076; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16900 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
16901 __pyx_r = __pyx_t_1;
16915 __Pyx_XDECREF(__pyx_t_1);
16916 __Pyx_XDECREF(__pyx_t_2);
16917 __Pyx_AddTraceback(
"espressomd.interactions.Stretchlin_Force._getParamsFromEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
16920 __Pyx_XGIVEREF(__pyx_r);
16921 __Pyx_RefNannyFinishContext();
16934 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self);
16935 static PyMethodDef __pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_13_setParamsInEsCore = {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_13_setParamsInEsCore, METH_O, 0};
16936 static PyObject *__pyx_pw_10espressomd_12interactions_16Stretchlin_Force_13_setParamsInEsCore(PyObject *__pyx_self, PyObject *__pyx_v_self) {
16937 PyObject *__pyx_r = 0;
16938 __Pyx_RefNannyDeclarations
16939 __Pyx_RefNannySetupContext(
"_setParamsInEsCore (wrapper)", 0);
16940 __pyx_r = __pyx_pf_10espressomd_12interactions_16Stretchlin_Force_12_setParamsInEsCore(__pyx_self, ((PyObject *)__pyx_v_self));
16943 __Pyx_RefNannyFinishContext();
16947 static PyObject *__pyx_pf_10espressomd_12interactions_16Stretchlin_Force_12_setParamsInEsCore(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
16948 PyObject *__pyx_r = NULL;
16949 __Pyx_RefNannyDeclarations
16950 PyObject *__pyx_t_1 = NULL;
16952 PyObject *__pyx_t_3 = NULL;
16955 int __pyx_lineno = 0;
16956 const char *__pyx_filename = NULL;
16957 int __pyx_clineno = 0;
16958 __Pyx_RefNannySetupContext(
"_setParamsInEsCore", 0);
16967 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_bondId);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16968 __Pyx_GOTREF(__pyx_t_1);
16969 __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1);
if (unlikely((__pyx_t_2 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16970 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16971 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16972 __Pyx_GOTREF(__pyx_t_1);
16973 __pyx_t_3 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_r0);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
16974 __Pyx_GOTREF(__pyx_t_3);
16975 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
16976 __pyx_t_4 = __pyx_PyFloat_AsDouble(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16977 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16978 __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_params);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16979 __Pyx_GOTREF(__pyx_t_3);
16980 __pyx_t_1 = PyObject_GetItem(__pyx_t_3, __pyx_n_s_kslin);
if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
16981 __Pyx_GOTREF(__pyx_t_1);
16982 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
16983 __pyx_t_5 = __pyx_PyFloat_AsDouble(__pyx_t_1);
if (unlikely((__pyx_t_5 == (
double)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1081; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
16984 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
17004 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
17007 __Pyx_XDECREF(__pyx_t_1);
17008 __Pyx_XDECREF(__pyx_t_3);
17009 __Pyx_AddTraceback(
"espressomd.interactions.Stretchlin_Force._setParamsInEsCore", __pyx_clineno, __pyx_lineno, __pyx_filename);
17012 __Pyx_XGIVEREF(__pyx_r);
17013 __Pyx_RefNannyFinishContext();
17026 static PyObject *__pyx_pw_10espressomd_12interactions_18BondedInteractions_1__getitem__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
17027 static PyMethodDef __pyx_mdef_10espressomd_12interactions_18BondedInteractions_1__getitem__ = {
"__getitem__", (PyCFunction)__pyx_pw_10espressomd_12interactions_18BondedInteractions_1__getitem__, METH_VARARGS|METH_KEYWORDS, 0};
17028 static PyObject *__pyx_pw_10espressomd_12interactions_18BondedInteractions_1__getitem__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
17029 CYTHON_UNUSED PyObject *__pyx_v_self = 0;
17030 PyObject *__pyx_v_key = 0;
17031 int __pyx_lineno = 0;
17032 const char *__pyx_filename = NULL;
17033 int __pyx_clineno = 0;
17034 PyObject *__pyx_r = 0;
17035 __Pyx_RefNannyDeclarations
17036 __Pyx_RefNannySetupContext(
"__getitem__ (wrapper)", 0);
17038 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_key,0};
17039 PyObject* values[2] = {0,0};
17040 if (unlikely(__pyx_kwds)) {
17041 Py_ssize_t kw_args;
17042 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
17043 switch (pos_args) {
17044 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
17045 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
17047 default:
goto __pyx_L5_argtuple_error;
17049 kw_args = PyDict_Size(__pyx_kwds);
17050 switch (pos_args) {
17052 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
17053 else goto __pyx_L5_argtuple_error;
17055 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_key)) != 0)) kw_args--;
17057 __Pyx_RaiseArgtupleInvalid(
"__getitem__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17060 if (unlikely(kw_args > 0)) {
17061 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"__getitem__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17063 }
else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
17064 goto __pyx_L5_argtuple_error;
17066 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
17067 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
17069 __pyx_v_self = values[0];
17070 __pyx_v_key = values[1];
17072 goto __pyx_L4_argument_unpacking_done;
17073 __pyx_L5_argtuple_error:;
17074 __Pyx_RaiseArgtupleInvalid(
"__getitem__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17076 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractions.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
17077 __Pyx_RefNannyFinishContext();
17079 __pyx_L4_argument_unpacking_done:;
17080 __pyx_r = __pyx_pf_10espressomd_12interactions_18BondedInteractions___getitem__(__pyx_self, __pyx_v_self, __pyx_v_key);
17083 __Pyx_RefNannyFinishContext();
17087 static PyObject *__pyx_pf_10espressomd_12interactions_18BondedInteractions___getitem__(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
17088 PyObject *__pyx_v_bondType = NULL;
17089 PyObject *__pyx_v_bondClass = NULL;
17090 PyObject *__pyx_r = NULL;
17091 __Pyx_RefNannyDeclarations
17094 PyObject *__pyx_t_3 = NULL;
17095 Py_ssize_t __pyx_t_4;
17096 PyObject *__pyx_t_5 = NULL;
17097 PyObject *__pyx_t_6 = NULL;
17098 PyObject *__pyx_t_7 = NULL;
17099 int __pyx_lineno = 0;
17100 const char *__pyx_filename = NULL;
17101 int __pyx_clineno = 0;
17102 __Pyx_RefNannySetupContext(
"__getitem__", 0);
17111 __pyx_t_1 = PyInt_Check(__pyx_v_key);
17112 __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
17122 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__66, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1103; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17123 __Pyx_GOTREF(__pyx_t_3);
17124 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17125 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17126 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1103; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17136 __pyx_t_4 = __Pyx_PyIndex_AsSsize_t(__pyx_v_key);
if (unlikely((__pyx_t_4 == (Py_ssize_t)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17137 __pyx_t_3 = __Pyx_PyInt_From_int((
bonded_ia_params[__pyx_t_4]).type);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1107; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17138 __Pyx_GOTREF(__pyx_t_3);
17139 __pyx_v_bondType = __pyx_t_3;
17149 __pyx_t_3 = PyObject_RichCompare(__pyx_v_bondType, __pyx_int_neg_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17150 __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1110; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17151 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17161 __pyx_t_3 = PyTuple_New(1);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17162 __Pyx_GOTREF(__pyx_t_3);
17163 __Pyx_INCREF(__pyx_v_key);
17164 PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_key);
17165 __Pyx_GIVEREF(__pyx_v_key);
17166 __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)(&PyString_Type))), __pyx_t_3, NULL);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17167 __Pyx_GOTREF(__pyx_t_5);
17168 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17169 __pyx_t_3 = PyNumber_Add(__pyx_kp_s_The_bonded_interaction_with_the, __pyx_t_5);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17170 __Pyx_GOTREF(__pyx_t_3);
17171 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17172 __pyx_t_5 = PyNumber_Add(__pyx_t_3, __pyx_kp_s_is_not_yet_defined);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1112; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17173 __Pyx_GOTREF(__pyx_t_5);
17174 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17183 __pyx_t_3 = PyTuple_New(1);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1111; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17184 __Pyx_GOTREF(__pyx_t_3);
17185 PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_5);
17186 __Pyx_GIVEREF(__pyx_t_5);
17188 __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1111; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17189 __Pyx_GOTREF(__pyx_t_5);
17190 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17191 __Pyx_Raise(__pyx_t_5, 0, 0, 0);
17192 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17193 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1111; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17203 __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_bondedInteractionClasses);
if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17204 __Pyx_GOTREF(__pyx_t_5);
17205 __pyx_t_3 = PyObject_GetItem(__pyx_t_5, __pyx_v_bondType);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1115; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
17206 __Pyx_GOTREF(__pyx_t_3);
17207 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17208 __pyx_v_bondClass = __pyx_t_3;
17218 if (__Pyx_PrintOne(0, __pyx_v_bondType) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1116; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17227 if (__Pyx_PrintOne(0, __pyx_kp_s__67) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1117; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17236 __Pyx_XDECREF(__pyx_r);
17237 __Pyx_INCREF(__pyx_v_bondClass);
17238 __pyx_t_5 = __pyx_v_bondClass; __pyx_t_6 = NULL;
17239 if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_5))) {
17240 __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5);
17241 if (likely(__pyx_t_6)) {
17242 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_5);
17243 __Pyx_INCREF(__pyx_t_6);
17244 __Pyx_INCREF(
function);
17245 __Pyx_DECREF_SET(__pyx_t_5,
function);
17249 __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_v_key);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1121; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17250 __Pyx_GOTREF(__pyx_t_3);
17252 __pyx_t_7 = PyTuple_New(1+1);
if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1121; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17253 __Pyx_GOTREF(__pyx_t_7);
17254 PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_6); __Pyx_GIVEREF(__pyx_t_6); __pyx_t_6 = NULL;
17255 __Pyx_INCREF(__pyx_v_key);
17256 PyTuple_SET_ITEM(__pyx_t_7, 0+1, __pyx_v_key);
17257 __Pyx_GIVEREF(__pyx_v_key);
17258 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_7, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1121; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17259 __Pyx_GOTREF(__pyx_t_3);
17260 __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
17262 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17263 __pyx_r = __pyx_t_3;
17277 __Pyx_XDECREF(__pyx_t_3);
17278 __Pyx_XDECREF(__pyx_t_5);
17279 __Pyx_XDECREF(__pyx_t_6);
17280 __Pyx_XDECREF(__pyx_t_7);
17281 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractions.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
17284 __Pyx_XDECREF(__pyx_v_bondType);
17285 __Pyx_XDECREF(__pyx_v_bondClass);
17286 __Pyx_XGIVEREF(__pyx_r);
17287 __Pyx_RefNannyFinishContext();
17300 static PyObject *__pyx_pw_10espressomd_12interactions_18BondedInteractions_3__setitem__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
17301 static PyMethodDef __pyx_mdef_10espressomd_12interactions_18BondedInteractions_3__setitem__ = {
"__setitem__", (PyCFunction)__pyx_pw_10espressomd_12interactions_18BondedInteractions_3__setitem__, METH_VARARGS|METH_KEYWORDS, 0};
17302 static PyObject *__pyx_pw_10espressomd_12interactions_18BondedInteractions_3__setitem__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
17303 CYTHON_UNUSED PyObject *__pyx_v_self = 0;
17304 PyObject *__pyx_v_key = 0;
17305 PyObject *__pyx_v_value = 0;
17306 int __pyx_lineno = 0;
17307 const char *__pyx_filename = NULL;
17308 int __pyx_clineno = 0;
17309 PyObject *__pyx_r = 0;
17310 __Pyx_RefNannyDeclarations
17311 __Pyx_RefNannySetupContext(
"__setitem__ (wrapper)", 0);
17313 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_key,&__pyx_n_s_value,0};
17314 PyObject* values[3] = {0,0,0};
17315 if (unlikely(__pyx_kwds)) {
17316 Py_ssize_t kw_args;
17317 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
17318 switch (pos_args) {
17319 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
17320 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
17321 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
17323 default:
goto __pyx_L5_argtuple_error;
17325 kw_args = PyDict_Size(__pyx_kwds);
17326 switch (pos_args) {
17328 if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
17329 else goto __pyx_L5_argtuple_error;
17331 if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_key)) != 0)) kw_args--;
17333 __Pyx_RaiseArgtupleInvalid(
"__setitem__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17336 if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
17338 __Pyx_RaiseArgtupleInvalid(
"__setitem__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17341 if (unlikely(kw_args > 0)) {
17342 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"__setitem__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17344 }
else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
17345 goto __pyx_L5_argtuple_error;
17347 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
17348 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
17349 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
17351 __pyx_v_self = values[0];
17352 __pyx_v_key = values[1];
17353 __pyx_v_value = values[2];
17355 goto __pyx_L4_argument_unpacking_done;
17356 __pyx_L5_argtuple_error:;
17357 __Pyx_RaiseArgtupleInvalid(
"__setitem__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L3_error;}
17359 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractions.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
17360 __Pyx_RefNannyFinishContext();
17362 __pyx_L4_argument_unpacking_done:;
17363 __pyx_r = __pyx_pf_10espressomd_12interactions_18BondedInteractions_2__setitem__(__pyx_self, __pyx_v_self, __pyx_v_key, __pyx_v_value);
17366 __Pyx_RefNannyFinishContext();
17370 static PyObject *__pyx_pf_10espressomd_12interactions_18BondedInteractions_2__setitem__(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value) {
17371 PyObject *__pyx_r = NULL;
17372 __Pyx_RefNannyDeclarations
17375 PyObject *__pyx_t_3 = NULL;
17376 PyObject *__pyx_t_4 = NULL;
17377 PyObject *__pyx_t_5 = NULL;
17378 int __pyx_lineno = 0;
17379 const char *__pyx_filename = NULL;
17380 int __pyx_clineno = 0;
17381 __Pyx_RefNannySetupContext(
"__setitem__", 0);
17390 __pyx_t_1 = PyInt_Check(__pyx_v_key);
17391 __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
17401 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__68, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17402 __Pyx_GOTREF(__pyx_t_3);
17403 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17404 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17405 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17415 __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, ((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction));
17416 __pyx_t_1 = ((!(__pyx_t_2 != 0)) != 0);
17426 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__69, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17427 __Pyx_GOTREF(__pyx_t_3);
17428 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17429 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17430 {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17440 if (__Pyx_PyObject_SetAttrStr(__pyx_v_value, __pyx_n_s_bondId, __pyx_v_key) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1137; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17447 __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_setParamsInEsCore);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17448 __Pyx_GOTREF(__pyx_t_4);
17450 if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_4))) {
17451 __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
17452 if (likely(__pyx_t_5)) {
17453 PyObject*
function = PyMethod_GET_FUNCTION(__pyx_t_4);
17454 __Pyx_INCREF(__pyx_t_5);
17455 __Pyx_INCREF(
function);
17456 __Pyx_DECREF_SET(__pyx_t_4,
function);
17460 __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17461 __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
17463 __pyx_t_3 = __Pyx_PyObject_CallNoArg(__pyx_t_4);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1140; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17465 __Pyx_GOTREF(__pyx_t_3);
17466 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
17467 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17478 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
17481 __Pyx_XDECREF(__pyx_t_3);
17482 __Pyx_XDECREF(__pyx_t_4);
17483 __Pyx_XDECREF(__pyx_t_5);
17484 __Pyx_AddTraceback(
"espressomd.interactions.BondedInteractions.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
17487 __Pyx_XGIVEREF(__pyx_r);
17488 __Pyx_RefNannyFinishContext();
17501 static CYTHON_UNUSED
int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info,
int __pyx_v_flags);
17502 static CYTHON_UNUSED
int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info,
int __pyx_v_flags) {
17504 __Pyx_RefNannyDeclarations
17505 __Pyx_RefNannySetupContext(
"__getbuffer__ (wrapper)", 0);
17506 __pyx_r = __pyx_pf_5numpy_7ndarray___getbuffer__(((PyArrayObject *)__pyx_v_self), ((Py_buffer *)__pyx_v_info), ((
int)__pyx_v_flags));
17509 __Pyx_RefNannyFinishContext();
17513 static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info,
int __pyx_v_flags) {
17514 int __pyx_v_copy_shape;
17517 int __pyx_v_endian_detector;
17518 int __pyx_v_little_endian;
17521 PyArray_Descr *__pyx_v_descr = 0;
17522 int __pyx_v_offset;
17523 int __pyx_v_hasfields;
17525 __Pyx_RefNannyDeclarations
17528 PyObject *__pyx_t_3 = NULL;
17531 PyObject *__pyx_t_6 = NULL;
17533 int __pyx_lineno = 0;
17534 const char *__pyx_filename = NULL;
17535 int __pyx_clineno = 0;
17536 __Pyx_RefNannySetupContext(
"__getbuffer__", 0);
17537 if (__pyx_v_info != NULL) {
17538 __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
17539 __Pyx_GIVEREF(__pyx_v_info->obj);
17549 __pyx_t_1 = ((__pyx_v_info == NULL) != 0);
17562 __pyx_v_endian_detector = 1;
17571 __pyx_v_little_endian = ((((
char *)(&__pyx_v_endian_detector))[0]) != 0);
17580 __pyx_v_ndim = PyArray_NDIM(__pyx_v_self);
17589 __pyx_t_1 = (((
sizeof(npy_intp)) != (
sizeof(Py_ssize_t))) != 0);
17599 __pyx_v_copy_shape = 1;
17611 __pyx_v_copy_shape = 0;
17622 __pyx_t_2 = (((__pyx_v_flags & PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS) != 0);
17625 __pyx_t_1 = __pyx_t_2;
17626 goto __pyx_L6_bool_binop_done;
17636 __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_C_CONTIGUOUS) != 0)) != 0);
17637 __pyx_t_1 = __pyx_t_2;
17638 __pyx_L6_bool_binop_done:;
17648 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__70, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 218; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17649 __Pyx_GOTREF(__pyx_t_3);
17650 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17651 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17652 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 218; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17662 __pyx_t_2 = (((__pyx_v_flags & PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS) != 0);
17665 __pyx_t_1 = __pyx_t_2;
17666 goto __pyx_L9_bool_binop_done;
17676 __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_F_CONTIGUOUS) != 0)) != 0);
17677 __pyx_t_1 = __pyx_t_2;
17678 __pyx_L9_bool_binop_done:;
17688 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__71, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17689 __Pyx_GOTREF(__pyx_t_3);
17690 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17691 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17692 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17702 __pyx_v_info->buf = PyArray_DATA(__pyx_v_self);
17711 __pyx_v_info->ndim = __pyx_v_ndim;
17720 __pyx_t_1 = (__pyx_v_copy_shape != 0);
17730 __pyx_v_info->strides = ((Py_ssize_t *)
malloc((((
sizeof(Py_ssize_t)) * ((
size_t)__pyx_v_ndim)) * 2)));
17739 __pyx_v_info->shape = (__pyx_v_info->strides + __pyx_v_ndim);
17748 __pyx_t_4 = __pyx_v_ndim;
17749 for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
17750 __pyx_v_i = __pyx_t_5;
17759 (__pyx_v_info->strides[__pyx_v_i]) = (PyArray_STRIDES(__pyx_v_self)[__pyx_v_i]);
17768 (__pyx_v_info->shape[__pyx_v_i]) = (PyArray_DIMS(__pyx_v_self)[__pyx_v_i]);
17781 __pyx_v_info->strides = ((Py_ssize_t *)PyArray_STRIDES(__pyx_v_self));
17790 __pyx_v_info->shape = ((Py_ssize_t *)PyArray_DIMS(__pyx_v_self));
17801 __pyx_v_info->suboffsets = NULL;
17810 __pyx_v_info->itemsize = PyArray_ITEMSIZE(__pyx_v_self);
17819 __pyx_v_info->readonly = (!(PyArray_ISWRITEABLE(__pyx_v_self) != 0));
17837 __pyx_t_3 = ((PyObject *)__pyx_v_self->descr);
17838 __Pyx_INCREF(__pyx_t_3);
17839 __pyx_v_descr = ((PyArray_Descr *)__pyx_t_3);
17849 __pyx_v_hasfields = PyDataType_HASFIELDS(__pyx_v_descr);
17858 __pyx_t_2 = ((!(__pyx_v_hasfields != 0)) != 0);
17861 __pyx_t_1 = __pyx_t_2;
17862 goto __pyx_L15_bool_binop_done;
17864 __pyx_t_2 = ((!(__pyx_v_copy_shape != 0)) != 0);
17865 __pyx_t_1 = __pyx_t_2;
17866 __pyx_L15_bool_binop_done:;
17876 __Pyx_INCREF(Py_None);
17877 __Pyx_GIVEREF(Py_None);
17878 __Pyx_GOTREF(__pyx_v_info->obj);
17879 __Pyx_DECREF(__pyx_v_info->obj);
17880 __pyx_v_info->obj = Py_None;
17892 __Pyx_INCREF(((PyObject *)__pyx_v_self));
17893 __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
17894 __Pyx_GOTREF(__pyx_v_info->obj);
17895 __Pyx_DECREF(__pyx_v_info->obj);
17896 __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
17907 __pyx_t_1 = ((!(__pyx_v_hasfields != 0)) != 0);
17917 __pyx_t_4 = __pyx_v_descr->type_num;
17918 __pyx_v_t = __pyx_t_4;
17927 __pyx_t_2 = ((__pyx_v_descr->byteorder ==
'>') != 0);
17929 goto __pyx_L20_next_or;
17932 __pyx_t_2 = (__pyx_v_little_endian != 0);
17935 __pyx_t_1 = __pyx_t_2;
17936 goto __pyx_L19_bool_binop_done;
17938 __pyx_L20_next_or:;
17947 __pyx_t_2 = ((__pyx_v_descr->byteorder ==
'<') != 0);
17950 __pyx_t_1 = __pyx_t_2;
17951 goto __pyx_L19_bool_binop_done;
17953 __pyx_t_2 = ((!(__pyx_v_little_endian != 0)) != 0);
17954 __pyx_t_1 = __pyx_t_2;
17955 __pyx_L19_bool_binop_done:;
17965 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__72, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 260; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17966 __Pyx_GOTREF(__pyx_t_3);
17967 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
17968 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
17969 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 260; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
17979 switch (__pyx_v_t) {
17989 __pyx_v_f = __pyx_k_b;
18000 __pyx_v_f = __pyx_k_B;
18011 __pyx_v_f = __pyx_k_h;
18022 __pyx_v_f = __pyx_k_H;
18033 __pyx_v_f = __pyx_k_i;
18044 __pyx_v_f = __pyx_k_I;
18055 __pyx_v_f = __pyx_k_l;
18066 __pyx_v_f = __pyx_k_L;
18077 __pyx_v_f = __pyx_k_q;
18087 case NPY_ULONGLONG:
18088 __pyx_v_f = __pyx_k_Q;
18099 __pyx_v_f = __pyx_k_f;
18110 __pyx_v_f = __pyx_k_d;
18120 case NPY_LONGDOUBLE:
18121 __pyx_v_f = __pyx_k_g;
18132 __pyx_v_f = __pyx_k_Zf;
18143 __pyx_v_f = __pyx_k_Zd;
18153 case NPY_CLONGDOUBLE:
18154 __pyx_v_f = __pyx_k_Zg;
18165 __pyx_v_f = __pyx_k_O;
18176 __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_t);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18177 __Pyx_GOTREF(__pyx_t_3);
18178 __pyx_t_6 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_t_3);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18179 __Pyx_GOTREF(__pyx_t_6);
18180 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18181 __pyx_t_3 = PyTuple_New(1);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18182 __Pyx_GOTREF(__pyx_t_3);
18183 PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_6);
18184 __Pyx_GIVEREF(__pyx_t_6);
18186 __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL);
if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18187 __Pyx_GOTREF(__pyx_t_6);
18188 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18189 __Pyx_Raise(__pyx_t_6, 0, 0, 0);
18190 __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
18191 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 279; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18202 __pyx_v_info->format = __pyx_v_f;
18223 __pyx_v_info->format = ((
char *)
malloc(255));
18232 (__pyx_v_info->format[0]) =
'^';
18241 __pyx_v_offset = 0;
18250 __pyx_t_7 = __pyx_f_5numpy__util_dtypestring(__pyx_v_descr, (__pyx_v_info->format + 1), (__pyx_v_info->format + 255), (&__pyx_v_offset));
if (unlikely(__pyx_t_7 == NULL)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 286; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18251 __pyx_v_f = __pyx_t_7;
18260 (__pyx_v_f[0]) =
'\x00';
18275 __Pyx_XDECREF(__pyx_t_3);
18276 __Pyx_XDECREF(__pyx_t_6);
18277 __Pyx_AddTraceback(
"numpy.ndarray.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
18279 if (__pyx_v_info != NULL && __pyx_v_info->obj != NULL) {
18280 __Pyx_GOTREF(__pyx_v_info->obj);
18281 __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = NULL;
18285 if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
18286 __Pyx_GOTREF(Py_None);
18287 __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
18290 __Pyx_XDECREF((PyObject *)__pyx_v_descr);
18291 __Pyx_RefNannyFinishContext();
18304 static CYTHON_UNUSED
void __pyx_pw_5numpy_7ndarray_3__releasebuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info);
18305 static CYTHON_UNUSED
void __pyx_pw_5numpy_7ndarray_3__releasebuffer__(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info) {
18306 __Pyx_RefNannyDeclarations
18307 __Pyx_RefNannySetupContext(
"__releasebuffer__ (wrapper)", 0);
18308 __pyx_pf_5numpy_7ndarray_2__releasebuffer__(((PyArrayObject *)__pyx_v_self), ((Py_buffer *)__pyx_v_info));
18311 __Pyx_RefNannyFinishContext();
18314 static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info) {
18315 __Pyx_RefNannyDeclarations
18317 __Pyx_RefNannySetupContext(
"__releasebuffer__", 0);
18326 __pyx_t_1 = (PyArray_HASFIELDS(__pyx_v_self) != 0);
18336 free(__pyx_v_info->format);
18348 __pyx_t_1 = (((
sizeof(npy_intp)) != (
sizeof(Py_ssize_t))) != 0);
18358 free(__pyx_v_info->strides);
18372 __Pyx_RefNannyFinishContext();
18383 static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
18384 PyObject *__pyx_r = NULL;
18385 __Pyx_RefNannyDeclarations
18386 PyObject *__pyx_t_1 = NULL;
18387 int __pyx_lineno = 0;
18388 const char *__pyx_filename = NULL;
18389 int __pyx_clineno = 0;
18390 __Pyx_RefNannySetupContext(
"PyArray_MultiIterNew1", 0);
18399 __Pyx_XDECREF(__pyx_r);
18400 __pyx_t_1 = PyArray_MultiIterNew(1, ((
void *)__pyx_v_a));
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 772; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18401 __Pyx_GOTREF(__pyx_t_1);
18402 __pyx_r = __pyx_t_1;
18416 __Pyx_XDECREF(__pyx_t_1);
18417 __Pyx_AddTraceback(
"numpy.PyArray_MultiIterNew1", __pyx_clineno, __pyx_lineno, __pyx_filename);
18420 __Pyx_XGIVEREF(__pyx_r);
18421 __Pyx_RefNannyFinishContext();
18433 static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
18434 PyObject *__pyx_r = NULL;
18435 __Pyx_RefNannyDeclarations
18436 PyObject *__pyx_t_1 = NULL;
18437 int __pyx_lineno = 0;
18438 const char *__pyx_filename = NULL;
18439 int __pyx_clineno = 0;
18440 __Pyx_RefNannySetupContext(
"PyArray_MultiIterNew2", 0);
18449 __Pyx_XDECREF(__pyx_r);
18450 __pyx_t_1 = PyArray_MultiIterNew(2, ((
void *)__pyx_v_a), ((
void *)__pyx_v_b));
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 775; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18451 __Pyx_GOTREF(__pyx_t_1);
18452 __pyx_r = __pyx_t_1;
18466 __Pyx_XDECREF(__pyx_t_1);
18467 __Pyx_AddTraceback(
"numpy.PyArray_MultiIterNew2", __pyx_clineno, __pyx_lineno, __pyx_filename);
18470 __Pyx_XGIVEREF(__pyx_r);
18471 __Pyx_RefNannyFinishContext();
18483 static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
18484 PyObject *__pyx_r = NULL;
18485 __Pyx_RefNannyDeclarations
18486 PyObject *__pyx_t_1 = NULL;
18487 int __pyx_lineno = 0;
18488 const char *__pyx_filename = NULL;
18489 int __pyx_clineno = 0;
18490 __Pyx_RefNannySetupContext(
"PyArray_MultiIterNew3", 0);
18499 __Pyx_XDECREF(__pyx_r);
18500 __pyx_t_1 = PyArray_MultiIterNew(3, ((
void *)__pyx_v_a), ((
void *)__pyx_v_b), ((
void *)__pyx_v_c));
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 778; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18501 __Pyx_GOTREF(__pyx_t_1);
18502 __pyx_r = __pyx_t_1;
18516 __Pyx_XDECREF(__pyx_t_1);
18517 __Pyx_AddTraceback(
"numpy.PyArray_MultiIterNew3", __pyx_clineno, __pyx_lineno, __pyx_filename);
18520 __Pyx_XGIVEREF(__pyx_r);
18521 __Pyx_RefNannyFinishContext();
18533 static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
18534 PyObject *__pyx_r = NULL;
18535 __Pyx_RefNannyDeclarations
18536 PyObject *__pyx_t_1 = NULL;
18537 int __pyx_lineno = 0;
18538 const char *__pyx_filename = NULL;
18539 int __pyx_clineno = 0;
18540 __Pyx_RefNannySetupContext(
"PyArray_MultiIterNew4", 0);
18549 __Pyx_XDECREF(__pyx_r);
18550 __pyx_t_1 = PyArray_MultiIterNew(4, ((
void *)__pyx_v_a), ((
void *)__pyx_v_b), ((
void *)__pyx_v_c), ((
void *)__pyx_v_d));
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 781; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18551 __Pyx_GOTREF(__pyx_t_1);
18552 __pyx_r = __pyx_t_1;
18566 __Pyx_XDECREF(__pyx_t_1);
18567 __Pyx_AddTraceback(
"numpy.PyArray_MultiIterNew4", __pyx_clineno, __pyx_lineno, __pyx_filename);
18570 __Pyx_XGIVEREF(__pyx_r);
18571 __Pyx_RefNannyFinishContext();
18583 static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
18584 PyObject *__pyx_r = NULL;
18585 __Pyx_RefNannyDeclarations
18586 PyObject *__pyx_t_1 = NULL;
18587 int __pyx_lineno = 0;
18588 const char *__pyx_filename = NULL;
18589 int __pyx_clineno = 0;
18590 __Pyx_RefNannySetupContext(
"PyArray_MultiIterNew5", 0);
18599 __Pyx_XDECREF(__pyx_r);
18600 __pyx_t_1 = PyArray_MultiIterNew(5, ((
void *)__pyx_v_a), ((
void *)__pyx_v_b), ((
void *)__pyx_v_c), ((
void *)__pyx_v_d), ((
void *)__pyx_v_e));
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 784; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18601 __Pyx_GOTREF(__pyx_t_1);
18602 __pyx_r = __pyx_t_1;
18616 __Pyx_XDECREF(__pyx_t_1);
18617 __Pyx_AddTraceback(
"numpy.PyArray_MultiIterNew5", __pyx_clineno, __pyx_lineno, __pyx_filename);
18620 __Pyx_XGIVEREF(__pyx_r);
18621 __Pyx_RefNannyFinishContext();
18633 static CYTHON_INLINE
char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx_v_descr,
char *__pyx_v_f,
char *__pyx_v_end,
int *__pyx_v_offset) {
18634 PyArray_Descr *__pyx_v_child = 0;
18635 int __pyx_v_endian_detector;
18636 int __pyx_v_little_endian;
18637 PyObject *__pyx_v_fields = 0;
18638 PyObject *__pyx_v_childname = NULL;
18639 PyObject *__pyx_v_new_offset = NULL;
18640 PyObject *__pyx_v_t = NULL;
18642 __Pyx_RefNannyDeclarations
18643 PyObject *__pyx_t_1 = NULL;
18644 Py_ssize_t __pyx_t_2;
18645 PyObject *__pyx_t_3 = NULL;
18646 PyObject *__pyx_t_4 = NULL;
18652 int __pyx_lineno = 0;
18653 const char *__pyx_filename = NULL;
18654 int __pyx_clineno = 0;
18655 __Pyx_RefNannySetupContext(
"_util_dtypestring", 0);
18664 __pyx_v_endian_detector = 1;
18673 __pyx_v_little_endian = ((((
char *)(&__pyx_v_endian_detector))[0]) != 0);
18682 if (unlikely(__pyx_v_descr->names == Py_None)) {
18683 PyErr_SetString(PyExc_TypeError,
"'NoneType' object is not iterable");
18684 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18686 __pyx_t_1 = __pyx_v_descr->names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
18688 if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1))
break;
18689 #if CYTHON_COMPILING_IN_CPYTHON
18690 __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++;
if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18692 __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++;
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18694 __Pyx_XDECREF_SET(__pyx_v_childname, __pyx_t_3);
18704 if (unlikely(__pyx_v_descr->fields == Py_None)) {
18705 PyErr_SetString(PyExc_TypeError,
"'NoneType' object is not subscriptable");
18706 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 798; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18708 __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname);
if (unlikely(__pyx_t_3 == NULL)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 798; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
18709 __Pyx_GOTREF(__pyx_t_3);
18710 if (!(likely(PyTuple_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError,
"Expected %.16s, got %.200s",
"tuple", Py_TYPE(__pyx_t_3)->tp_name), 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 798; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18711 __Pyx_XDECREF_SET(__pyx_v_fields, ((PyObject*)__pyx_t_3));
18721 if (likely(__pyx_v_fields != Py_None)) {
18722 PyObject* sequence = __pyx_v_fields;
18723 #if CYTHON_COMPILING_IN_CPYTHON
18724 Py_ssize_t size = Py_SIZE(sequence);
18726 Py_ssize_t size = PySequence_Size(sequence);
18728 if (unlikely(size != 2)) {
18729 if (size > 2) __Pyx_RaiseTooManyValuesError(2);
18730 else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
18731 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18733 #if CYTHON_COMPILING_IN_CPYTHON
18734 __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0);
18735 __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1);
18736 __Pyx_INCREF(__pyx_t_3);
18737 __Pyx_INCREF(__pyx_t_4);
18739 __pyx_t_3 = PySequence_ITEM(sequence, 0);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18740 __Pyx_GOTREF(__pyx_t_3);
18741 __pyx_t_4 = PySequence_ITEM(sequence, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18742 __Pyx_GOTREF(__pyx_t_4);
18745 __Pyx_RaiseNoneNotIterableError(); {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18747 if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_dtype))))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 799; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18748 __Pyx_XDECREF_SET(__pyx_v_child, ((PyArray_Descr *)__pyx_t_3));
18750 __Pyx_XDECREF_SET(__pyx_v_new_offset, __pyx_t_4);
18760 __pyx_t_4 = __Pyx_PyInt_From_int((__pyx_v_offset[0]));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18761 __Pyx_GOTREF(__pyx_t_4);
18762 __pyx_t_3 = PyNumber_Subtract(__pyx_v_new_offset, __pyx_t_4);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18763 __Pyx_GOTREF(__pyx_t_3);
18764 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18765 __pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_3);
if (unlikely((__pyx_t_5 == (
int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18766 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18767 __pyx_t_6 = ((((__pyx_v_end - __pyx_v_f) - ((
int)__pyx_t_5)) < 15) != 0);
18777 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__73, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 802; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18778 __Pyx_GOTREF(__pyx_t_3);
18779 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
18780 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18781 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 802; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18791 __pyx_t_7 = ((__pyx_v_child->byteorder ==
'>') != 0);
18793 goto __pyx_L8_next_or;
18796 __pyx_t_7 = (__pyx_v_little_endian != 0);
18799 __pyx_t_6 = __pyx_t_7;
18800 goto __pyx_L7_bool_binop_done;
18811 __pyx_t_7 = ((__pyx_v_child->byteorder ==
'<') != 0);
18814 __pyx_t_6 = __pyx_t_7;
18815 goto __pyx_L7_bool_binop_done;
18817 __pyx_t_7 = ((!(__pyx_v_little_endian != 0)) != 0);
18818 __pyx_t_6 = __pyx_t_7;
18819 __pyx_L7_bool_binop_done:;
18829 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__74, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18830 __Pyx_GOTREF(__pyx_t_3);
18831 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
18832 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18833 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18844 __pyx_t_3 = __Pyx_PyInt_From_int((__pyx_v_offset[0]));
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18845 __Pyx_GOTREF(__pyx_t_3);
18846 __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_v_new_offset, Py_LT); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18847 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18848 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 816; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18849 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18850 if (!__pyx_t_6)
break;
18859 (__pyx_v_f[0]) = 120;
18868 __pyx_v_f = (__pyx_v_f + 1);
18878 (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + 1);
18889 (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
18898 __pyx_t_6 = ((!(PyDataType_HASFIELDS(__pyx_v_child) != 0)) != 0);
18908 __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 824; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18909 __Pyx_GOTREF(__pyx_t_4);
18910 __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_4);
18920 __pyx_t_6 = (((__pyx_v_end - __pyx_v_f) < 5) != 0);
18930 __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__75, NULL);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18931 __Pyx_GOTREF(__pyx_t_4);
18932 __Pyx_Raise(__pyx_t_4, 0, 0, 0);
18933 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18934 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18944 __pyx_t_4 = PyInt_FromLong(NPY_BYTE);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18945 __Pyx_GOTREF(__pyx_t_4);
18946 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18947 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18948 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 829; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18949 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18951 (__pyx_v_f[0]) = 98;
18962 __pyx_t_3 = PyInt_FromLong(NPY_UBYTE);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18963 __Pyx_GOTREF(__pyx_t_3);
18964 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18965 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18966 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 830; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18967 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18969 (__pyx_v_f[0]) = 66;
18980 __pyx_t_4 = PyInt_FromLong(NPY_SHORT);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18981 __Pyx_GOTREF(__pyx_t_4);
18982 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18983 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
18984 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 831; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18985 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
18987 (__pyx_v_f[0]) = 104;
18998 __pyx_t_3 = PyInt_FromLong(NPY_USHORT);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
18999 __Pyx_GOTREF(__pyx_t_3);
19000 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19001 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19002 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19003 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19005 (__pyx_v_f[0]) = 72;
19016 __pyx_t_4 = PyInt_FromLong(NPY_INT);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19017 __Pyx_GOTREF(__pyx_t_4);
19018 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19019 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19020 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 833; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19021 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19023 (__pyx_v_f[0]) = 105;
19034 __pyx_t_3 = PyInt_FromLong(NPY_UINT);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19035 __Pyx_GOTREF(__pyx_t_3);
19036 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19037 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19038 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19039 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19041 (__pyx_v_f[0]) = 73;
19052 __pyx_t_4 = PyInt_FromLong(NPY_LONG);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19053 __Pyx_GOTREF(__pyx_t_4);
19054 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19055 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19056 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 835; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19057 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19059 (__pyx_v_f[0]) = 108;
19070 __pyx_t_3 = PyInt_FromLong(NPY_ULONG);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19071 __Pyx_GOTREF(__pyx_t_3);
19072 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19073 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19074 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 836; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19075 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19077 (__pyx_v_f[0]) = 76;
19088 __pyx_t_4 = PyInt_FromLong(NPY_LONGLONG);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19089 __Pyx_GOTREF(__pyx_t_4);
19090 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19091 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19092 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19093 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19095 (__pyx_v_f[0]) = 113;
19106 __pyx_t_3 = PyInt_FromLong(NPY_ULONGLONG);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19107 __Pyx_GOTREF(__pyx_t_3);
19108 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19109 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19110 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 838; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19111 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19113 (__pyx_v_f[0]) = 81;
19124 __pyx_t_4 = PyInt_FromLong(NPY_FLOAT);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19125 __Pyx_GOTREF(__pyx_t_4);
19126 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19127 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19128 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 839; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19129 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19131 (__pyx_v_f[0]) = 102;
19142 __pyx_t_3 = PyInt_FromLong(NPY_DOUBLE);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19143 __Pyx_GOTREF(__pyx_t_3);
19144 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19145 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19146 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19147 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19149 (__pyx_v_f[0]) = 100;
19160 __pyx_t_4 = PyInt_FromLong(NPY_LONGDOUBLE);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19161 __Pyx_GOTREF(__pyx_t_4);
19162 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19163 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19164 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 841; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19165 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19167 (__pyx_v_f[0]) = 103;
19178 __pyx_t_3 = PyInt_FromLong(NPY_CFLOAT);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19179 __Pyx_GOTREF(__pyx_t_3);
19180 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19181 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19182 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 842; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19183 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19185 (__pyx_v_f[0]) = 90;
19186 (__pyx_v_f[1]) = 102;
19187 __pyx_v_f = (__pyx_v_f + 1);
19198 __pyx_t_4 = PyInt_FromLong(NPY_CDOUBLE);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19199 __Pyx_GOTREF(__pyx_t_4);
19200 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19201 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19202 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19203 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19205 (__pyx_v_f[0]) = 90;
19206 (__pyx_v_f[1]) = 100;
19207 __pyx_v_f = (__pyx_v_f + 1);
19218 __pyx_t_3 = PyInt_FromLong(NPY_CLONGDOUBLE);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19219 __Pyx_GOTREF(__pyx_t_3);
19220 __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19221 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19222 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 844; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19223 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19225 (__pyx_v_f[0]) = 90;
19226 (__pyx_v_f[1]) = 103;
19227 __pyx_v_f = (__pyx_v_f + 1);
19238 __pyx_t_4 = PyInt_FromLong(NPY_OBJECT);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 845; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19239 __Pyx_GOTREF(__pyx_t_4);
19240 __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 845; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19241 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19242 __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3);
if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 845; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19243 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19245 (__pyx_v_f[0]) = 79;
19257 __pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19258 __Pyx_GOTREF(__pyx_t_3);
19259 __pyx_t_4 = PyTuple_New(1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19260 __Pyx_GOTREF(__pyx_t_4);
19261 PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
19262 __Pyx_GIVEREF(__pyx_t_3);
19264 __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19265 __Pyx_GOTREF(__pyx_t_3);
19266 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
19267 __Pyx_Raise(__pyx_t_3, 0, 0, 0);
19268 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
19269 {__pyx_filename = __pyx_f[1]; __pyx_lineno = 847; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19280 __pyx_v_f = (__pyx_v_f + 1);
19292 __pyx_t_9 = __pyx_f_5numpy__util_dtypestring(__pyx_v_child, __pyx_v_f, __pyx_v_end, __pyx_v_offset);
if (unlikely(__pyx_t_9 == NULL)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 852; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
19293 __pyx_v_f = __pyx_t_9;
19305 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
19314 __pyx_r = __pyx_v_f;
19327 __Pyx_XDECREF(__pyx_t_1);
19328 __Pyx_XDECREF(__pyx_t_3);
19329 __Pyx_XDECREF(__pyx_t_4);
19330 __Pyx_AddTraceback(
"numpy._util_dtypestring", __pyx_clineno, __pyx_lineno, __pyx_filename);
19333 __Pyx_XDECREF((PyObject *)__pyx_v_child);
19334 __Pyx_XDECREF(__pyx_v_fields);
19335 __Pyx_XDECREF(__pyx_v_childname);
19336 __Pyx_XDECREF(__pyx_v_new_offset);
19337 __Pyx_XDECREF(__pyx_v_t);
19338 __Pyx_RefNannyFinishContext();
19350 static CYTHON_INLINE
void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
19351 PyObject *__pyx_v_baseptr;
19352 __Pyx_RefNannyDeclarations
19355 __Pyx_RefNannySetupContext(
"set_array_base", 0);
19364 __pyx_t_1 = (__pyx_v_base == Py_None);
19365 __pyx_t_2 = (__pyx_t_1 != 0);
19375 __pyx_v_baseptr = NULL;
19387 Py_INCREF(__pyx_v_base);
19396 __pyx_v_baseptr = ((PyObject *)__pyx_v_base);
19407 Py_XDECREF(__pyx_v_arr->base);
19416 __pyx_v_arr->base = __pyx_v_baseptr;
19427 __Pyx_RefNannyFinishContext();
19438 static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
19439 PyObject *__pyx_r = NULL;
19440 __Pyx_RefNannyDeclarations
19442 __Pyx_RefNannySetupContext(
"get_array_base", 0);
19451 __pyx_t_1 = ((__pyx_v_arr->base == NULL) != 0);
19461 __Pyx_XDECREF(__pyx_r);
19462 __Pyx_INCREF(Py_None);
19473 __Pyx_XDECREF(__pyx_r);
19474 __Pyx_INCREF(((PyObject *)__pyx_v_arr->base));
19475 __pyx_r = ((PyObject *)__pyx_v_arr->base);
19489 __Pyx_XGIVEREF(__pyx_r);
19490 __Pyx_RefNannyFinishContext();
19494 static PyObject *__pyx_tp_new_10espressomd_12interactions_NonBondedInteraction(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
19495 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *p;
19497 if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
19498 o = (*t->tp_alloc)(t, 0);
19500 o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
19502 if (unlikely(!o))
return 0;
19503 p = ((
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)o);
19504 p->_partTypes = Py_None; Py_INCREF(Py_None);
19505 p->_params = Py_None; Py_INCREF(Py_None);
19509 static void __pyx_tp_dealloc_10espressomd_12interactions_NonBondedInteraction(PyObject *o) {
19510 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *p = (
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)o;
19511 #if PY_VERSION_HEX >= 0x030400a1
19512 if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
19513 if (PyObject_CallFinalizerFromDealloc(o))
return;
19516 PyObject_GC_UnTrack(o);
19517 Py_CLEAR(p->_partTypes);
19518 Py_CLEAR(p->_params);
19519 (*Py_TYPE(o)->tp_free)(o);
19522 static int __pyx_tp_traverse_10espressomd_12interactions_NonBondedInteraction(PyObject *o, visitproc v,
void *a) {
19524 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *p = (
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)o;
19525 if (p->_partTypes) {
19526 e = (*v)(p->_partTypes, a);
if (e)
return e;
19529 e = (*v)(p->_params, a);
if (e)
return e;
19534 static int __pyx_tp_clear_10espressomd_12interactions_NonBondedInteraction(PyObject *o) {
19536 struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *p = (
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction *)o;
19537 tmp = ((PyObject*)p->_partTypes);
19538 p->_partTypes = Py_None; Py_INCREF(Py_None);
19540 tmp = ((PyObject*)p->_params);
19541 p->_params = Py_None; Py_INCREF(Py_None);
19546 static PyObject *__pyx_getprop_10espressomd_12interactions_20NonBondedInteraction__partTypes(PyObject *o, CYTHON_UNUSED
void *x) {
19547 return __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_1__get__(o);
19550 static int __pyx_setprop_10espressomd_12interactions_20NonBondedInteraction__partTypes(PyObject *o, PyObject *v, CYTHON_UNUSED
void *x) {
19552 return __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_3__set__(o, v);
19555 return __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_10_partTypes_5__del__(o);
19559 static PyMethodDef __pyx_methods_10espressomd_12interactions_NonBondedInteraction[] = {
19560 {
"isValid", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_3isValid, METH_NOARGS, __pyx_doc_10espressomd_12interactions_20NonBondedInteraction_2isValid},
19561 {
"getParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_5getParams, METH_NOARGS, __pyx_doc_10espressomd_12interactions_20NonBondedInteraction_4getParams},
19562 {
"setParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_7setParams, METH_VARARGS|METH_KEYWORDS, __pyx_doc_10espressomd_12interactions_20NonBondedInteraction_6setParams},
19563 {
"validateParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_9validateParams, METH_NOARGS, 0},
19564 {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_11_getParamsFromEsCore, METH_NOARGS, 0},
19565 {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_13_setParamsInEsCore, METH_NOARGS, 0},
19566 {
"defaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_15defaultParams, METH_NOARGS, 0},
19567 {
"isActive", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_17isActive, METH_NOARGS, 0},
19568 {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_19typeName, METH_NOARGS, 0},
19569 {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_21validKeys, METH_NOARGS, 0},
19570 {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_20NonBondedInteraction_23requiredKeys, METH_NOARGS, 0},
19574 static struct PyGetSetDef __pyx_getsets_10espressomd_12interactions_NonBondedInteraction[] = {
19575 {(
char *)
"_partTypes", __pyx_getprop_10espressomd_12interactions_20NonBondedInteraction__partTypes, __pyx_setprop_10espressomd_12interactions_20NonBondedInteraction__partTypes, 0, 0},
19579 static PyTypeObject __pyx_type_10espressomd_12interactions_NonBondedInteraction = {
19580 PyVarObject_HEAD_INIT(0, 0)
19581 "espressomd.interactions.NonBondedInteraction",
19582 sizeof(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteraction),
19584 __pyx_tp_dealloc_10espressomd_12interactions_NonBondedInteraction,
19588 #if PY_MAJOR_VERSION < 3
19603 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
19605 __pyx_tp_traverse_10espressomd_12interactions_NonBondedInteraction,
19606 __pyx_tp_clear_10espressomd_12interactions_NonBondedInteraction,
19611 __pyx_methods_10espressomd_12interactions_NonBondedInteraction,
19613 __pyx_getsets_10espressomd_12interactions_NonBondedInteraction,
19619 __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_1__init__,
19621 __pyx_tp_new_10espressomd_12interactions_NonBondedInteraction,
19631 #if PY_VERSION_HEX >= 0x030400a1
19636 static PyObject *__pyx_tp_new_10espressomd_12interactions_LennardJonesInteraction(PyTypeObject *t, PyObject *a, PyObject *k) {
19637 PyObject *o = __pyx_tp_new_10espressomd_12interactions_NonBondedInteraction(t, a, k);
19638 if (unlikely(!o))
return 0;
19642 static PyMethodDef __pyx_methods_10espressomd_12interactions_LennardJonesInteraction[] = {
19643 {
"validateParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_1validateParams, METH_NOARGS, 0},
19644 {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_3_getParamsFromEsCore, METH_NOARGS, 0},
19645 {
"isActive", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_5isActive, METH_NOARGS, 0},
19646 {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_7_setParamsInEsCore, METH_NOARGS, 0},
19647 {
"defaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_9defaultParams, METH_NOARGS, 0},
19648 {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_11typeName, METH_NOARGS, 0},
19649 {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_13validKeys, METH_NOARGS, 0},
19650 {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_23LennardJonesInteraction_15requiredKeys, METH_NOARGS, 0},
19654 static PyTypeObject __pyx_type_10espressomd_12interactions_LennardJonesInteraction = {
19655 PyVarObject_HEAD_INIT(0, 0)
19656 "espressomd.interactions.LennardJonesInteraction",
19657 sizeof(
struct __pyx_obj_10espressomd_12interactions_LennardJonesInteraction),
19659 __pyx_tp_dealloc_10espressomd_12interactions_NonBondedInteraction,
19663 #if PY_MAJOR_VERSION < 3
19678 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
19680 __pyx_tp_traverse_10espressomd_12interactions_NonBondedInteraction,
19681 __pyx_tp_clear_10espressomd_12interactions_NonBondedInteraction,
19686 __pyx_methods_10espressomd_12interactions_LennardJonesInteraction,
19694 #if CYTHON_COMPILING_IN_PYPY
19695 __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_1__init__,
19700 __pyx_tp_new_10espressomd_12interactions_LennardJonesInteraction,
19710 #if PY_VERSION_HEX >= 0x030400a1
19715 static PyObject *__pyx_tp_new_10espressomd_12interactions_GenericLennardJonesInteraction(PyTypeObject *t, PyObject *a, PyObject *k) {
19716 PyObject *o = __pyx_tp_new_10espressomd_12interactions_NonBondedInteraction(t, a, k);
19717 if (unlikely(!o))
return 0;
19721 static PyMethodDef __pyx_methods_10espressomd_12interactions_GenericLennardJonesInteraction[] = {
19722 {
"validateParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_1validateParams, METH_NOARGS, 0},
19723 {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_3_getParamsFromEsCore, METH_NOARGS, 0},
19724 {
"isActive", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_5isActive, METH_NOARGS, 0},
19725 {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_7_setParamsInEsCore, METH_NOARGS, 0},
19726 {
"defaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_9defaultParams, METH_NOARGS, 0},
19727 {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_11typeName, METH_NOARGS, 0},
19728 {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_13validKeys, METH_NOARGS, 0},
19729 {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_30GenericLennardJonesInteraction_15requiredKeys, METH_NOARGS, 0},
19733 static PyTypeObject __pyx_type_10espressomd_12interactions_GenericLennardJonesInteraction = {
19734 PyVarObject_HEAD_INIT(0, 0)
19735 "espressomd.interactions.GenericLennardJonesInteraction",
19736 sizeof(
struct __pyx_obj_10espressomd_12interactions_GenericLennardJonesInteraction),
19738 __pyx_tp_dealloc_10espressomd_12interactions_NonBondedInteraction,
19742 #if PY_MAJOR_VERSION < 3
19757 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
19759 __pyx_tp_traverse_10espressomd_12interactions_NonBondedInteraction,
19760 __pyx_tp_clear_10espressomd_12interactions_NonBondedInteraction,
19765 __pyx_methods_10espressomd_12interactions_GenericLennardJonesInteraction,
19773 #if CYTHON_COMPILING_IN_PYPY
19774 __pyx_pw_10espressomd_12interactions_20NonBondedInteraction_1__init__,
19779 __pyx_tp_new_10espressomd_12interactions_GenericLennardJonesInteraction,
19789 #if PY_VERSION_HEX >= 0x030400a1
19794 static PyObject *__pyx_tp_new_10espressomd_12interactions_NonBondedInteractions(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
19796 if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
19797 o = (*t->tp_alloc)(t, 0);
19799 o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
19801 if (unlikely(!o))
return 0;
19805 static void __pyx_tp_dealloc_10espressomd_12interactions_NonBondedInteractions(PyObject *o) {
19806 #if PY_VERSION_HEX >= 0x030400a1
19807 if (unlikely(Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
19808 if (PyObject_CallFinalizerFromDealloc(o))
return;
19811 (*Py_TYPE(o)->tp_free)(o);
19813 static PyObject *__pyx_sq_item_10espressomd_12interactions_NonBondedInteractions(PyObject *o, Py_ssize_t
i) {
19815 PyObject *x = PyInt_FromSsize_t(i);
if(!x)
return 0;
19816 r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x);
19821 static PyMethodDef __pyx_methods_10espressomd_12interactions_NonBondedInteractions[] = {
19822 {
"setForceCap", (PyCFunction)__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_3setForceCap, METH_O, 0},
19823 {
"getForceCap", (PyCFunction)__pyx_pw_10espressomd_12interactions_21NonBondedInteractions_5getForceCap, METH_NOARGS, 0},
19827 static PySequenceMethods __pyx_tp_as_sequence_NonBondedInteractions = {
19831 __pyx_sq_item_10espressomd_12interactions_NonBondedInteractions,
19840 static PyMappingMethods __pyx_tp_as_mapping_NonBondedInteractions = {
19842 __pyx_pw_10espressomd_12interactions_21NonBondedInteractions_1__getitem__,
19846 static PyTypeObject __pyx_type_10espressomd_12interactions_NonBondedInteractions = {
19847 PyVarObject_HEAD_INIT(0, 0)
19848 "espressomd.interactions.NonBondedInteractions",
19849 sizeof(
struct __pyx_obj_10espressomd_12interactions_NonBondedInteractions),
19851 __pyx_tp_dealloc_10espressomd_12interactions_NonBondedInteractions,
19855 #if PY_MAJOR_VERSION < 3
19862 &__pyx_tp_as_sequence_NonBondedInteractions,
19863 &__pyx_tp_as_mapping_NonBondedInteractions,
19870 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE,
19871 "Access to non-bonded interaction parameters via [i,j], where i,j are particle \n types. Returns NonBondedInteractionHandle.\n Also: access to force capping\n ",
19878 __pyx_methods_10espressomd_12interactions_NonBondedInteractions,
19888 __pyx_tp_new_10espressomd_12interactions_NonBondedInteractions,
19898 #if PY_VERSION_HEX >= 0x030400a1
19903 static PyObject *__pyx_tp_new_10espressomd_12interactions_BondedInteraction(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
19905 if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
19906 o = (*t->tp_alloc)(t, 0);
19908 o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
19910 if (unlikely(!o))
return 0;
19914 static void __pyx_tp_dealloc_10espressomd_12interactions_BondedInteraction(PyObject *o) {
19915 #if PY_VERSION_HEX >= 0x030400a1
19916 if (unlikely(Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
19917 if (PyObject_CallFinalizerFromDealloc(o))
return;
19920 (*Py_TYPE(o)->tp_free)(o);
19923 static PyObject *__pyx_getprop_10espressomd_12interactions_17BondedInteraction_params(PyObject *o, CYTHON_UNUSED
void *x) {
19924 return __pyx_pw_10espressomd_12interactions_17BondedInteraction_6params_1__get__(o);
19927 static int __pyx_setprop_10espressomd_12interactions_17BondedInteraction_params(PyObject *o, PyObject *v, CYTHON_UNUSED
void *x) {
19929 return __pyx_pw_10espressomd_12interactions_17BondedInteraction_6params_3__set__(o, v);
19932 PyErr_SetString(PyExc_NotImplementedError,
"__del__");
19937 static PyMethodDef __pyx_methods_10espressomd_12interactions_BondedInteraction[] = {
19938 {
"isValid", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_3isValid, METH_NOARGS, __pyx_doc_10espressomd_12interactions_17BondedInteraction_2isValid},
19939 {
"validateParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_5validateParams, METH_NOARGS, 0},
19940 {
"_getParamsFromEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_7_getParamsFromEsCore, METH_NOARGS, 0},
19941 {
"_setParamsInEsCore", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_9_setParamsInEsCore, METH_NOARGS, 0},
19942 {
"setDefaultParams", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_11setDefaultParams, METH_NOARGS, 0},
19943 {
"typeNumber", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_13typeNumber, METH_NOARGS, 0},
19944 {
"typeName", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_15typeName, METH_NOARGS, 0},
19945 {
"validKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_17validKeys, METH_NOARGS, 0},
19946 {
"requiredKeys", (PyCFunction)__pyx_pw_10espressomd_12interactions_17BondedInteraction_19requiredKeys, METH_NOARGS, 0},
19950 static struct PyGetSetDef __pyx_getsets_10espressomd_12interactions_BondedInteraction[] = {
19951 {(
char *)
"params", __pyx_getprop_10espressomd_12interactions_17BondedInteraction_params, __pyx_setprop_10espressomd_12interactions_17BondedInteraction_params, 0, 0},
19955 static PyTypeObject __pyx_type_10espressomd_12interactions_BondedInteraction = {
19956 PyVarObject_HEAD_INIT(0, 0)
19957 "espressomd.interactions.BondedInteraction",
19958 sizeof(
struct __pyx_obj_10espressomd_12interactions_BondedInteraction),
19960 __pyx_tp_dealloc_10espressomd_12interactions_BondedInteraction,
19964 #if PY_MAJOR_VERSION < 3
19979 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE,
19987 __pyx_methods_10espressomd_12interactions_BondedInteraction,
19989 __pyx_getsets_10espressomd_12interactions_BondedInteraction,
19995 __pyx_pw_10espressomd_12interactions_17BondedInteraction_1__init__,
19997 __pyx_tp_new_10espressomd_12interactions_BondedInteraction,
20007 #if PY_VERSION_HEX >= 0x030400a1
20012 static PyMethodDef __pyx_methods[] = {
20016 #if PY_MAJOR_VERSION >= 3
20017 static struct PyModuleDef __pyx_moduledef = {
20018 #if PY_VERSION_HEX < 0x03020000
20019 { PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
20021 PyModuleDef_HEAD_INIT,
20034 static __Pyx_StringTabEntry __pyx_string_tab[] = {
20035 {&__pyx_n_s_A0_g, __pyx_k_A0_g,
sizeof(__pyx_k_A0_g), 0, 0, 1, 1},
20036 {&__pyx_n_s_A0_l, __pyx_k_A0_l,
sizeof(__pyx_k_A0_l), 0, 0, 1, 1},
20037 {&__pyx_n_s_ANGLE_COSINE, __pyx_k_ANGLE_COSINE,
sizeof(__pyx_k_ANGLE_COSINE), 0, 0, 1, 1},
20038 {&__pyx_n_s_ANGLE_COSSQUARE, __pyx_k_ANGLE_COSSQUARE,
sizeof(__pyx_k_ANGLE_COSSQUARE), 0, 0, 1, 1},
20039 {&__pyx_n_s_ANGLE_HARMONIC, __pyx_k_ANGLE_HARMONIC,
sizeof(__pyx_k_ANGLE_HARMONIC), 0, 0, 1, 1},
20040 {&__pyx_n_s_AREA_FORCE_GLOBAL, __pyx_k_AREA_FORCE_GLOBAL,
sizeof(__pyx_k_AREA_FORCE_GLOBAL), 0, 0, 1, 1},
20041 {&__pyx_n_s_AREA_FORCE_LOCAL, __pyx_k_AREA_FORCE_LOCAL,
sizeof(__pyx_k_AREA_FORCE_LOCAL), 0, 0, 1, 1},
20042 {&__pyx_n_s_Angle_Cosine, __pyx_k_Angle_Cosine,
sizeof(__pyx_k_Angle_Cosine), 0, 0, 1, 1},
20043 {&__pyx_n_s_Angle_Cosine_typeNumber, __pyx_k_Angle_Cosine_typeNumber,
sizeof(__pyx_k_Angle_Cosine_typeNumber), 0, 0, 1, 1},
20044 {&__pyx_n_s_Angle_Cossquare, __pyx_k_Angle_Cossquare,
sizeof(__pyx_k_Angle_Cossquare), 0, 0, 1, 1},
20045 {&__pyx_n_s_Angle_Cossquare_typeNumber, __pyx_k_Angle_Cossquare_typeNumber,
sizeof(__pyx_k_Angle_Cossquare_typeNumber), 0, 0, 1, 1},
20046 {&__pyx_n_s_Angle_Harmonic, __pyx_k_Angle_Harmonic,
sizeof(__pyx_k_Angle_Harmonic), 0, 0, 1, 1},
20047 {&__pyx_n_s_Angle_Harmonic_typeNumber, __pyx_k_Angle_Harmonic_typeNumber,
sizeof(__pyx_k_Angle_Harmonic_typeNumber), 0, 0, 1, 1},
20048 {&__pyx_n_s_Area_Force_Global, __pyx_k_Area_Force_Global,
sizeof(__pyx_k_Area_Force_Global), 0, 0, 1, 1},
20049 {&__pyx_n_s_Area_Force_Global__getParamsFrom, __pyx_k_Area_Force_Global__getParamsFrom,
sizeof(__pyx_k_Area_Force_Global__getParamsFrom), 0, 0, 1, 1},
20050 {&__pyx_n_s_Area_Force_Global__setParamsInEs, __pyx_k_Area_Force_Global__setParamsInEs,
sizeof(__pyx_k_Area_Force_Global__setParamsInEs), 0, 0, 1, 1},
20051 {&__pyx_n_s_Area_Force_Global_requiredKeys, __pyx_k_Area_Force_Global_requiredKeys,
sizeof(__pyx_k_Area_Force_Global_requiredKeys), 0, 0, 1, 1},
20052 {&__pyx_n_s_Area_Force_Global_setDefaultPara, __pyx_k_Area_Force_Global_setDefaultPara,
sizeof(__pyx_k_Area_Force_Global_setDefaultPara), 0, 0, 1, 1},
20053 {&__pyx_n_s_Area_Force_Global_typeName, __pyx_k_Area_Force_Global_typeName,
sizeof(__pyx_k_Area_Force_Global_typeName), 0, 0, 1, 1},
20054 {&__pyx_n_s_Area_Force_Global_typeNumber, __pyx_k_Area_Force_Global_typeNumber,
sizeof(__pyx_k_Area_Force_Global_typeNumber), 0, 0, 1, 1},
20055 {&__pyx_n_s_Area_Force_Global_validKeys, __pyx_k_Area_Force_Global_validKeys,
sizeof(__pyx_k_Area_Force_Global_validKeys), 0, 0, 1, 1},
20056 {&__pyx_n_s_Area_Force_Local, __pyx_k_Area_Force_Local,
sizeof(__pyx_k_Area_Force_Local), 0, 0, 1, 1},
20057 {&__pyx_n_s_Area_Force_Local__getParamsFromE, __pyx_k_Area_Force_Local__getParamsFromE,
sizeof(__pyx_k_Area_Force_Local__getParamsFromE), 0, 0, 1, 1},
20058 {&__pyx_n_s_Area_Force_Local__setParamsInEsC, __pyx_k_Area_Force_Local__setParamsInEsC,
sizeof(__pyx_k_Area_Force_Local__setParamsInEsC), 0, 0, 1, 1},
20059 {&__pyx_n_s_Area_Force_Local_requiredKeys, __pyx_k_Area_Force_Local_requiredKeys,
sizeof(__pyx_k_Area_Force_Local_requiredKeys), 0, 0, 1, 1},
20060 {&__pyx_n_s_Area_Force_Local_setDefaultParam, __pyx_k_Area_Force_Local_setDefaultParam,
sizeof(__pyx_k_Area_Force_Local_setDefaultParam), 0, 0, 1, 1},
20061 {&__pyx_n_s_Area_Force_Local_typeName, __pyx_k_Area_Force_Local_typeName,
sizeof(__pyx_k_Area_Force_Local_typeName), 0, 0, 1, 1},
20062 {&__pyx_n_s_Area_Force_Local_typeNumber, __pyx_k_Area_Force_Local_typeNumber,
sizeof(__pyx_k_Area_Force_Local_typeNumber), 0, 0, 1, 1},
20063 {&__pyx_n_s_Area_Force_Local_validKeys, __pyx_k_Area_Force_Local_validKeys,
sizeof(__pyx_k_Area_Force_Local_validKeys), 0, 0, 1, 1},
20064 {&__pyx_kp_s_At_least_the_following_keys_have, __pyx_k_At_least_the_following_keys_have,
sizeof(__pyx_k_At_least_the_following_keys_have), 0, 0, 1, 0},
20065 {&__pyx_n_s_BENDING_FORCE, __pyx_k_BENDING_FORCE,
sizeof(__pyx_k_BENDING_FORCE), 0, 0, 1, 1},
20066 {&__pyx_n_s_BOND_ENDANGLEDIST, __pyx_k_BOND_ENDANGLEDIST,
sizeof(__pyx_k_BOND_ENDANGLEDIST), 0, 0, 1, 1},
20067 {&__pyx_n_s_Bending_Force, __pyx_k_Bending_Force,
sizeof(__pyx_k_Bending_Force), 0, 0, 1, 1},
20068 {&__pyx_n_s_Bending_Force__getParamsFromEsCo, __pyx_k_Bending_Force__getParamsFromEsCo,
sizeof(__pyx_k_Bending_Force__getParamsFromEsCo), 0, 0, 1, 1},
20069 {&__pyx_n_s_Bending_Force__setParamsInEsCore, __pyx_k_Bending_Force__setParamsInEsCore,
sizeof(__pyx_k_Bending_Force__setParamsInEsCore), 0, 0, 1, 1},
20070 {&__pyx_n_s_Bending_Force_requiredKeys, __pyx_k_Bending_Force_requiredKeys,
sizeof(__pyx_k_Bending_Force_requiredKeys), 0, 0, 1, 1},
20071 {&__pyx_n_s_Bending_Force_setDefaultParams, __pyx_k_Bending_Force_setDefaultParams,
sizeof(__pyx_k_Bending_Force_setDefaultParams), 0, 0, 1, 1},
20072 {&__pyx_n_s_Bending_Force_typeName, __pyx_k_Bending_Force_typeName,
sizeof(__pyx_k_Bending_Force_typeName), 0, 0, 1, 1},
20073 {&__pyx_n_s_Bending_Force_typeNumber, __pyx_k_Bending_Force_typeNumber,
sizeof(__pyx_k_Bending_Force_typeNumber), 0, 0, 1, 1},
20074 {&__pyx_n_s_Bending_Force_validKeys, __pyx_k_Bending_Force_validKeys,
sizeof(__pyx_k_Bending_Force_validKeys), 0, 0, 1, 1},
20075 {&__pyx_n_s_BondedInteractionNotDefined, __pyx_k_BondedInteractionNotDefined,
sizeof(__pyx_k_BondedInteractionNotDefined), 0, 0, 1, 1},
20076 {&__pyx_n_s_BondedInteractionNotDefined___in, __pyx_k_BondedInteractionNotDefined___in,
sizeof(__pyx_k_BondedInteractionNotDefined___in), 0, 0, 1, 1},
20077 {&__pyx_n_s_BondedInteractionNotDefined__get, __pyx_k_BondedInteractionNotDefined__get,
sizeof(__pyx_k_BondedInteractionNotDefined__get), 0, 0, 1, 1},
20078 {&__pyx_n_s_BondedInteractionNotDefined__set, __pyx_k_BondedInteractionNotDefined__set,
sizeof(__pyx_k_BondedInteractionNotDefined__set), 0, 0, 1, 1},
20079 {&__pyx_n_s_BondedInteractionNotDefined_requ, __pyx_k_BondedInteractionNotDefined_requ,
sizeof(__pyx_k_BondedInteractionNotDefined_requ), 0, 0, 1, 1},
20080 {&__pyx_n_s_BondedInteractionNotDefined_setD, __pyx_k_BondedInteractionNotDefined_setD,
sizeof(__pyx_k_BondedInteractionNotDefined_setD), 0, 0, 1, 1},
20081 {&__pyx_n_s_BondedInteractionNotDefined_type, __pyx_k_BondedInteractionNotDefined_type,
sizeof(__pyx_k_BondedInteractionNotDefined_type), 0, 0, 1, 1},
20082 {&__pyx_n_s_BondedInteractionNotDefined_type_2, __pyx_k_BondedInteractionNotDefined_type_2,
sizeof(__pyx_k_BondedInteractionNotDefined_type_2), 0, 0, 1, 1},
20083 {&__pyx_n_s_BondedInteractionNotDefined_vali, __pyx_k_BondedInteractionNotDefined_vali,
sizeof(__pyx_k_BondedInteractionNotDefined_vali), 0, 0, 1, 1},
20084 {&__pyx_n_s_BondedInteractions, __pyx_k_BondedInteractions,
sizeof(__pyx_k_BondedInteractions), 0, 0, 1, 1},
20085 {&__pyx_n_s_BondedInteractions___getitem, __pyx_k_BondedInteractions___getitem,
sizeof(__pyx_k_BondedInteractions___getitem), 0, 0, 1, 1},
20086 {&__pyx_n_s_BondedInteractions___setitem, __pyx_k_BondedInteractions___setitem,
sizeof(__pyx_k_BondedInteractions___setitem), 0, 0, 1, 1},
20087 {&__pyx_kp_s_Could_not_set_Generic_Lennard_Jo, __pyx_k_Could_not_set_Generic_Lennard_Jo,
sizeof(__pyx_k_Could_not_set_Generic_Lennard_Jo), 0, 0, 1, 0},
20088 {&__pyx_kp_s_Could_not_set_Lennard_Jones_para, __pyx_k_Could_not_set_Lennard_Jones_para,
sizeof(__pyx_k_Could_not_set_Lennard_Jones_para), 0, 0, 1, 0},
20089 {&__pyx_kp_s_Could_not_set_forcecap, __pyx_k_Could_not_set_forcecap,
sizeof(__pyx_k_Could_not_set_forcecap), 0, 0, 1, 0},
20090 {&__pyx_n_s_DIHEDRAL, __pyx_k_DIHEDRAL,
sizeof(__pyx_k_DIHEDRAL), 0, 0, 1, 1},
20091 {&__pyx_n_s_Dihedral, __pyx_k_Dihedral,
sizeof(__pyx_k_Dihedral), 0, 0, 1, 1},
20092 {&__pyx_n_s_Dihedral__getParamsFromEsCore, __pyx_k_Dihedral__getParamsFromEsCore,
sizeof(__pyx_k_Dihedral__getParamsFromEsCore), 0, 0, 1, 1},
20093 {&__pyx_n_s_Dihedral__setParamsInEsCore, __pyx_k_Dihedral__setParamsInEsCore,
sizeof(__pyx_k_Dihedral__setParamsInEsCore), 0, 0, 1, 1},
20094 {&__pyx_n_s_Dihedral_requiredKeys, __pyx_k_Dihedral_requiredKeys,
sizeof(__pyx_k_Dihedral_requiredKeys), 0, 0, 1, 1},
20095 {&__pyx_n_s_Dihedral_setDefaultParams, __pyx_k_Dihedral_setDefaultParams,
sizeof(__pyx_k_Dihedral_setDefaultParams), 0, 0, 1, 1},
20096 {&__pyx_n_s_Dihedral_typeName, __pyx_k_Dihedral_typeName,
sizeof(__pyx_k_Dihedral_typeName), 0, 0, 1, 1},
20097 {&__pyx_n_s_Dihedral_typeNumber, __pyx_k_Dihedral_typeNumber,
sizeof(__pyx_k_Dihedral_typeNumber), 0, 0, 1, 1},
20098 {&__pyx_n_s_Dihedral_validKeys, __pyx_k_Dihedral_validKeys,
sizeof(__pyx_k_Dihedral_validKeys), 0, 0, 1, 1},
20099 {&__pyx_n_s_Endangledist, __pyx_k_Endangledist,
sizeof(__pyx_k_Endangledist), 0, 0, 1, 1},
20100 {&__pyx_n_s_Exception, __pyx_k_Exception,
sizeof(__pyx_k_Exception), 0, 0, 1, 1},
20101 {&__pyx_n_s_FENE, __pyx_k_FENE,
sizeof(__pyx_k_FENE), 0, 0, 1, 1},
20102 {&__pyx_n_s_FeneBond, __pyx_k_FeneBond,
sizeof(__pyx_k_FeneBond), 0, 0, 1, 1},
20103 {&__pyx_n_s_FeneBond__getParamsFromEsCore, __pyx_k_FeneBond__getParamsFromEsCore,
sizeof(__pyx_k_FeneBond__getParamsFromEsCore), 0, 0, 1, 1},
20104 {&__pyx_n_s_FeneBond__setParamsInEsCore, __pyx_k_FeneBond__setParamsInEsCore,
sizeof(__pyx_k_FeneBond__setParamsInEsCore), 0, 0, 1, 1},
20105 {&__pyx_n_s_FeneBond_requiredKeys, __pyx_k_FeneBond_requiredKeys,
sizeof(__pyx_k_FeneBond_requiredKeys), 0, 0, 1, 1},
20106 {&__pyx_n_s_FeneBond_setDefaultParams, __pyx_k_FeneBond_setDefaultParams,
sizeof(__pyx_k_FeneBond_setDefaultParams), 0, 0, 1, 1},
20107 {&__pyx_n_s_FeneBond_typeName, __pyx_k_FeneBond_typeName,
sizeof(__pyx_k_FeneBond_typeName), 0, 0, 1, 1},
20108 {&__pyx_n_s_FeneBond_typeNumber, __pyx_k_FeneBond_typeNumber,
sizeof(__pyx_k_FeneBond_typeNumber), 0, 0, 1, 1},
20109 {&__pyx_n_s_FeneBond_validKeys, __pyx_k_FeneBond_validKeys,
sizeof(__pyx_k_FeneBond_validKeys), 0, 0, 1, 1},
20110 {&__pyx_kp_u_Format_string_allocated_too_shor, __pyx_k_Format_string_allocated_too_shor,
sizeof(__pyx_k_Format_string_allocated_too_shor), 0, 1, 0, 0},
20111 {&__pyx_kp_u_Format_string_allocated_too_shor_2, __pyx_k_Format_string_allocated_too_shor_2,
sizeof(__pyx_k_Format_string_allocated_too_shor_2), 0, 1, 0, 0},
20112 {&__pyx_n_s_GenericLennardJones, __pyx_k_GenericLennardJones,
sizeof(__pyx_k_GenericLennardJones), 0, 0, 1, 1},
20113 {&__pyx_kp_s_Generic_Lennard_Jones_cutoff_has, __pyx_k_Generic_Lennard_Jones_cutoff_has,
sizeof(__pyx_k_Generic_Lennard_Jones_cutoff_has), 0, 0, 1, 0},
20114 {&__pyx_kp_s_Generic_Lennard_Jones_eps_has_to, __pyx_k_Generic_Lennard_Jones_eps_has_to,
sizeof(__pyx_k_Generic_Lennard_Jones_eps_has_to), 0, 0, 1, 0},
20115 {&__pyx_kp_s_Generic_Lennard_Jones_sigma_has, __pyx_k_Generic_Lennard_Jones_sigma_has,
sizeof(__pyx_k_Generic_Lennard_Jones_sigma_has), 0, 0, 1, 0},
20116 {&__pyx_n_s_HARMONIC, __pyx_k_HARMONIC,
sizeof(__pyx_k_HARMONIC), 0, 0, 1, 1},
20117 {&__pyx_n_s_HARMONIC_DUMBBELL, __pyx_k_HARMONIC_DUMBBELL,
sizeof(__pyx_k_HARMONIC_DUMBBELL), 0, 0, 1, 1},
20118 {&__pyx_n_s_HarmonicBond, __pyx_k_HarmonicBond,
sizeof(__pyx_k_HarmonicBond), 0, 0, 1, 1},
20119 {&__pyx_n_s_HarmonicBond__getParamsFromEsCor, __pyx_k_HarmonicBond__getParamsFromEsCor,
sizeof(__pyx_k_HarmonicBond__getParamsFromEsCor), 0, 0, 1, 1},
20120 {&__pyx_n_s_HarmonicBond__setParamsInEsCore, __pyx_k_HarmonicBond__setParamsInEsCore,
sizeof(__pyx_k_HarmonicBond__setParamsInEsCore), 0, 0, 1, 1},
20121 {&__pyx_n_s_HarmonicBond_requiredKeys, __pyx_k_HarmonicBond_requiredKeys,
sizeof(__pyx_k_HarmonicBond_requiredKeys), 0, 0, 1, 1},
20122 {&__pyx_n_s_HarmonicBond_setDefaultParams, __pyx_k_HarmonicBond_setDefaultParams,
sizeof(__pyx_k_HarmonicBond_setDefaultParams), 0, 0, 1, 1},
20123 {&__pyx_n_s_HarmonicBond_typeName, __pyx_k_HarmonicBond_typeName,
sizeof(__pyx_k_HarmonicBond_typeName), 0, 0, 1, 1},
20124 {&__pyx_n_s_HarmonicBond_typeNumber, __pyx_k_HarmonicBond_typeNumber,
sizeof(__pyx_k_HarmonicBond_typeNumber), 0, 0, 1, 1},
20125 {&__pyx_n_s_HarmonicBond_validKeys, __pyx_k_HarmonicBond_validKeys,
sizeof(__pyx_k_HarmonicBond_validKeys), 0, 0, 1, 1},
20126 {&__pyx_n_s_HarmonicDumbbellBond, __pyx_k_HarmonicDumbbellBond,
sizeof(__pyx_k_HarmonicDumbbellBond), 0, 0, 1, 1},
20127 {&__pyx_n_s_HarmonicDumbbellBond__getParamsF, __pyx_k_HarmonicDumbbellBond__getParamsF,
sizeof(__pyx_k_HarmonicDumbbellBond__getParamsF), 0, 0, 1, 1},
20128 {&__pyx_n_s_HarmonicDumbbellBond__setParamsI, __pyx_k_HarmonicDumbbellBond__setParamsI,
sizeof(__pyx_k_HarmonicDumbbellBond__setParamsI), 0, 0, 1, 1},
20129 {&__pyx_n_s_HarmonicDumbbellBond_requiredKey, __pyx_k_HarmonicDumbbellBond_requiredKey,
sizeof(__pyx_k_HarmonicDumbbellBond_requiredKey), 0, 0, 1, 1},
20130 {&__pyx_n_s_HarmonicDumbbellBond_setDefaultP, __pyx_k_HarmonicDumbbellBond_setDefaultP,
sizeof(__pyx_k_HarmonicDumbbellBond_setDefaultP), 0, 0, 1, 1},
20131 {&__pyx_n_s_HarmonicDumbbellBond_typeName, __pyx_k_HarmonicDumbbellBond_typeName,
sizeof(__pyx_k_HarmonicDumbbellBond_typeName), 0, 0, 1, 1},
20132 {&__pyx_n_s_HarmonicDumbbellBond_typeNumber, __pyx_k_HarmonicDumbbellBond_typeNumber,
sizeof(__pyx_k_HarmonicDumbbellBond_typeNumber), 0, 0, 1, 1},
20133 {&__pyx_n_s_HarmonicDumbbellBond_validKeys, __pyx_k_HarmonicDumbbellBond_validKeys,
sizeof(__pyx_k_HarmonicDumbbellBond_validKeys), 0, 0, 1, 1},
20134 {&__pyx_kp_s_Index_to_BondedInteractions_has, __pyx_k_Index_to_BondedInteractions_has,
sizeof(__pyx_k_Index_to_BondedInteractions_has), 0, 0, 1, 0},
20135 {&__pyx_kp_s_Index_to_BondedInteractions_hast, __pyx_k_Index_to_BondedInteractions_hast,
sizeof(__pyx_k_Index_to_BondedInteractions_hast), 0, 0, 1, 0},
20136 {&__pyx_n_s_LennardJones, __pyx_k_LennardJones,
sizeof(__pyx_k_LennardJones), 0, 0, 1, 1},
20137 {&__pyx_kp_s_Lennard_Jones_cutoff_has_to_be_0, __pyx_k_Lennard_Jones_cutoff_has_to_be_0,
sizeof(__pyx_k_Lennard_Jones_cutoff_has_to_be_0), 0, 0, 1, 0},
20138 {&__pyx_kp_s_Lennard_Jones_eps_has_to_be_0, __pyx_k_Lennard_Jones_eps_has_to_be_0,
sizeof(__pyx_k_Lennard_Jones_eps_has_to_be_0), 0, 0, 1, 0},
20139 {&__pyx_kp_s_Lennard_Jones_sigma_has_to_be_0, __pyx_k_Lennard_Jones_sigma_has_to_be_0,
sizeof(__pyx_k_Lennard_Jones_sigma_has_to_be_0), 0, 0, 1, 0},
20140 {&__pyx_n_s_NonBondedInteractionHandle, __pyx_k_NonBondedInteractionHandle,
sizeof(__pyx_k_NonBondedInteractionHandle), 0, 0, 1, 1},
20141 {&__pyx_n_s_NonBondedInteractionHandle___ini, __pyx_k_NonBondedInteractionHandle___ini,
sizeof(__pyx_k_NonBondedInteractionHandle___ini), 0, 0, 1, 1},
20142 {&__pyx_kp_s_NonBondedInteractions_expects_tw, __pyx_k_NonBondedInteractions_expects_tw,
sizeof(__pyx_k_NonBondedInteractions_expects_tw), 0, 0, 1, 0},
20143 {&__pyx_kp_u_Non_native_byte_order_not_suppor, __pyx_k_Non_native_byte_order_not_suppor,
sizeof(__pyx_k_Non_native_byte_order_not_suppor), 0, 1, 0, 0},
20144 {&__pyx_n_s_OVERLAPPED, __pyx_k_OVERLAPPED,
sizeof(__pyx_k_OVERLAPPED), 0, 0, 1, 1},
20145 {&__pyx_kp_s_Only_subclasses_of_BondedInterac, __pyx_k_Only_subclasses_of_BondedInterac,
sizeof(__pyx_k_Only_subclasses_of_BondedInterac), 0, 0, 1, 0},
20146 {&__pyx_kp_s_Only_the_following_keys_are_supp, __pyx_k_Only_the_following_keys_are_supp,
sizeof(__pyx_k_Only_the_following_keys_are_supp), 0, 0, 1, 0},
20147 {&__pyx_n_s_Overlapped, __pyx_k_Overlapped,
sizeof(__pyx_k_Overlapped), 0, 0, 1, 1},
20148 {&__pyx_n_s_Overlapped__getParamsFromEsCore, __pyx_k_Overlapped__getParamsFromEsCore,
sizeof(__pyx_k_Overlapped__getParamsFromEsCore), 0, 0, 1, 1},
20149 {&__pyx_n_s_Overlapped__setParamsInEsCore, __pyx_k_Overlapped__setParamsInEsCore,
sizeof(__pyx_k_Overlapped__setParamsInEsCore), 0, 0, 1, 1},
20150 {&__pyx_n_s_Overlapped_requiredKeys, __pyx_k_Overlapped_requiredKeys,
sizeof(__pyx_k_Overlapped_requiredKeys), 0, 0, 1, 1},
20151 {&__pyx_n_s_Overlapped_setDefaultParams, __pyx_k_Overlapped_setDefaultParams,
sizeof(__pyx_k_Overlapped_setDefaultParams), 0, 0, 1, 1},
20152 {&__pyx_n_s_Overlapped_typeName, __pyx_k_Overlapped_typeName,
sizeof(__pyx_k_Overlapped_typeName), 0, 0, 1, 1},
20153 {&__pyx_n_s_Overlapped_typeNumber, __pyx_k_Overlapped_typeNumber,
sizeof(__pyx_k_Overlapped_typeNumber), 0, 0, 1, 1},
20154 {&__pyx_n_s_Overlapped_validKeys, __pyx_k_Overlapped_validKeys,
sizeof(__pyx_k_Overlapped_validKeys), 0, 0, 1, 1},
20155 {&__pyx_kp_s_Provides_access_to_all_Non_bonde, __pyx_k_Provides_access_to_all_Non_bonde,
sizeof(__pyx_k_Provides_access_to_all_Non_bonde), 0, 0, 1, 0},
20156 {&__pyx_n_s_RIGID, __pyx_k_RIGID,
sizeof(__pyx_k_RIGID), 0, 0, 1, 1},
20157 {&__pyx_kp_s_Represents_the_bonded_interactio, __pyx_k_Represents_the_bonded_interactio,
sizeof(__pyx_k_Represents_the_bonded_interactio), 0, 0, 1, 0},
20158 {&__pyx_n_s_RigidBond, __pyx_k_RigidBond,
sizeof(__pyx_k_RigidBond), 0, 0, 1, 1},
20159 {&__pyx_n_s_RuntimeError, __pyx_k_RuntimeError,
sizeof(__pyx_k_RuntimeError), 0, 0, 1, 1},
20160 {&__pyx_n_s_STRETCHING_FORCE, __pyx_k_STRETCHING_FORCE,
sizeof(__pyx_k_STRETCHING_FORCE), 0, 0, 1, 1},
20161 {&__pyx_n_s_STRETCHLIN_FORCE, __pyx_k_STRETCHLIN_FORCE,
sizeof(__pyx_k_STRETCHLIN_FORCE), 0, 0, 1, 1},
20162 {&__pyx_n_s_SUBT_LJ, __pyx_k_SUBT_LJ,
sizeof(__pyx_k_SUBT_LJ), 0, 0, 1, 1},
20163 {&__pyx_n_s_Stretching_Force, __pyx_k_Stretching_Force,
sizeof(__pyx_k_Stretching_Force), 0, 0, 1, 1},
20164 {&__pyx_n_s_Stretching_Force__getParamsFromE, __pyx_k_Stretching_Force__getParamsFromE,
sizeof(__pyx_k_Stretching_Force__getParamsFromE), 0, 0, 1, 1},
20165 {&__pyx_n_s_Stretching_Force__setParamsInEsC, __pyx_k_Stretching_Force__setParamsInEsC,
sizeof(__pyx_k_Stretching_Force__setParamsInEsC), 0, 0, 1, 1},
20166 {&__pyx_n_s_Stretching_Force_requiredKeys, __pyx_k_Stretching_Force_requiredKeys,
sizeof(__pyx_k_Stretching_Force_requiredKeys), 0, 0, 1, 1},
20167 {&__pyx_n_s_Stretching_Force_setDefaultParam, __pyx_k_Stretching_Force_setDefaultParam,
sizeof(__pyx_k_Stretching_Force_setDefaultParam), 0, 0, 1, 1},
20168 {&__pyx_n_s_Stretching_Force_typeName, __pyx_k_Stretching_Force_typeName,
sizeof(__pyx_k_Stretching_Force_typeName), 0, 0, 1, 1},
20169 {&__pyx_n_s_Stretching_Force_typeNumber, __pyx_k_Stretching_Force_typeNumber,
sizeof(__pyx_k_Stretching_Force_typeNumber), 0, 0, 1, 1},
20170 {&__pyx_n_s_Stretching_Force_validKeys, __pyx_k_Stretching_Force_validKeys,
sizeof(__pyx_k_Stretching_Force_validKeys), 0, 0, 1, 1},
20171 {&__pyx_n_s_Stretchlin_Force, __pyx_k_Stretchlin_Force,
sizeof(__pyx_k_Stretchlin_Force), 0, 0, 1, 1},
20172 {&__pyx_n_s_Stretchlin_Force__getParamsFromE, __pyx_k_Stretchlin_Force__getParamsFromE,
sizeof(__pyx_k_Stretchlin_Force__getParamsFromE), 0, 0, 1, 1},
20173 {&__pyx_n_s_Stretchlin_Force__setParamsInEsC, __pyx_k_Stretchlin_Force__setParamsInEsC,
sizeof(__pyx_k_Stretchlin_Force__setParamsInEsC), 0, 0, 1, 1},
20174 {&__pyx_n_s_Stretchlin_Force_requiredKeys, __pyx_k_Stretchlin_Force_requiredKeys,
sizeof(__pyx_k_Stretchlin_Force_requiredKeys), 0, 0, 1, 1},
20175 {&__pyx_n_s_Stretchlin_Force_setDefaultParam, __pyx_k_Stretchlin_Force_setDefaultParam,
sizeof(__pyx_k_Stretchlin_Force_setDefaultParam), 0, 0, 1, 1},
20176 {&__pyx_n_s_Stretchlin_Force_typeName, __pyx_k_Stretchlin_Force_typeName,
sizeof(__pyx_k_Stretchlin_Force_typeName), 0, 0, 1, 1},
20177 {&__pyx_n_s_Stretchlin_Force_typeNumber, __pyx_k_Stretchlin_Force_typeNumber,
sizeof(__pyx_k_Stretchlin_Force_typeNumber), 0, 0, 1, 1},
20178 {&__pyx_n_s_Stretchlin_Force_validKeys, __pyx_k_Stretchlin_Force_validKeys,
sizeof(__pyx_k_Stretchlin_Force_validKeys), 0, 0, 1, 1},
20179 {&__pyx_kp_s_Subclasses_of_BondedInteraction, __pyx_k_Subclasses_of_BondedInteraction,
sizeof(__pyx_k_Subclasses_of_BondedInteraction), 0, 0, 1, 0},
20180 {&__pyx_kp_s_Subclasses_of_BondedInteraction_2, __pyx_k_Subclasses_of_BondedInteraction_2,
sizeof(__pyx_k_Subclasses_of_BondedInteraction_2), 0, 0, 1, 0},
20181 {&__pyx_kp_s_Subclasses_of_BondedInteraction_3, __pyx_k_Subclasses_of_BondedInteraction_3,
sizeof(__pyx_k_Subclasses_of_BondedInteraction_3), 0, 0, 1, 0},
20182 {&__pyx_kp_s_Subclasses_of_BondedInteraction_4, __pyx_k_Subclasses_of_BondedInteraction_4,
sizeof(__pyx_k_Subclasses_of_BondedInteraction_4), 0, 0, 1, 0},
20183 {&__pyx_kp_s_Subclasses_of_BondedInteraction_5, __pyx_k_Subclasses_of_BondedInteraction_5,
sizeof(__pyx_k_Subclasses_of_BondedInteraction_5), 0, 0, 1, 0},
20184 {&__pyx_kp_s_Subclasses_of_BondedInteraction_6, __pyx_k_Subclasses_of_BondedInteraction_6,
sizeof(__pyx_k_Subclasses_of_BondedInteraction_6), 0, 0, 1, 0},
20185 {&__pyx_kp_s_Subclasses_of_BondedInteraction_7, __pyx_k_Subclasses_of_BondedInteraction_7,
sizeof(__pyx_k_Subclasses_of_BondedInteraction_7), 0, 0, 1, 0},
20186 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti, __pyx_k_Subclasses_of_NonBondedInteracti,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti), 0, 0, 1, 0},
20187 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti_2, __pyx_k_Subclasses_of_NonBondedInteracti_2,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti_2), 0, 0, 1, 0},
20188 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti_3, __pyx_k_Subclasses_of_NonBondedInteracti_3,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti_3), 0, 0, 1, 0},
20189 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti_4, __pyx_k_Subclasses_of_NonBondedInteracti_4,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti_4), 0, 0, 1, 0},
20190 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti_5, __pyx_k_Subclasses_of_NonBondedInteracti_5,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti_5), 0, 0, 1, 0},
20191 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti_6, __pyx_k_Subclasses_of_NonBondedInteracti_6,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti_6), 0, 0, 1, 0},
20192 {&__pyx_kp_s_Subclasses_of_NonBondedInteracti_7, __pyx_k_Subclasses_of_NonBondedInteracti_7,
sizeof(__pyx_k_Subclasses_of_NonBondedInteracti_7), 0, 0, 1, 0},
20193 {&__pyx_n_s_Subt_Lj, __pyx_k_Subt_Lj,
sizeof(__pyx_k_Subt_Lj), 0, 0, 1, 1},
20194 {&__pyx_n_s_Subt_Lj__getParamsFromEsCore, __pyx_k_Subt_Lj__getParamsFromEsCore,
sizeof(__pyx_k_Subt_Lj__getParamsFromEsCore), 0, 0, 1, 1},
20195 {&__pyx_n_s_Subt_Lj__setParamsInEsCore, __pyx_k_Subt_Lj__setParamsInEsCore,
sizeof(__pyx_k_Subt_Lj__setParamsInEsCore), 0, 0, 1, 1},
20196 {&__pyx_n_s_Subt_Lj_requiredKeys, __pyx_k_Subt_Lj_requiredKeys,
sizeof(__pyx_k_Subt_Lj_requiredKeys), 0, 0, 1, 1},
20197 {&__pyx_n_s_Subt_Lj_setDefaultParams, __pyx_k_Subt_Lj_setDefaultParams,
sizeof(__pyx_k_Subt_Lj_setDefaultParams), 0, 0, 1, 1},
20198 {&__pyx_n_s_Subt_Lj_typeName, __pyx_k_Subt_Lj_typeName,
sizeof(__pyx_k_Subt_Lj_typeName), 0, 0, 1, 1},
20199 {&__pyx_n_s_Subt_Lj_typeNumber, __pyx_k_Subt_Lj_typeNumber,
sizeof(__pyx_k_Subt_Lj_typeNumber), 0, 0, 1, 1},
20200 {&__pyx_n_s_Subt_Lj_validKeys, __pyx_k_Subt_Lj_validKeys,
sizeof(__pyx_k_Subt_Lj_validKeys), 0, 0, 1, 1},
20201 {&__pyx_n_s_TABULATED, __pyx_k_TABULATED,
sizeof(__pyx_k_TABULATED), 0, 0, 1, 1},
20202 {&__pyx_n_s_Tabulated, __pyx_k_Tabulated,
sizeof(__pyx_k_Tabulated), 0, 0, 1, 1},
20203 {&__pyx_n_s_Tabulated__getParamsFromEsCore, __pyx_k_Tabulated__getParamsFromEsCore,
sizeof(__pyx_k_Tabulated__getParamsFromEsCore), 0, 0, 1, 1},
20204 {&__pyx_n_s_Tabulated__setParamsInEsCore, __pyx_k_Tabulated__setParamsInEsCore,
sizeof(__pyx_k_Tabulated__setParamsInEsCore), 0, 0, 1, 1},
20205 {&__pyx_n_s_Tabulated_requiredKeys, __pyx_k_Tabulated_requiredKeys,
sizeof(__pyx_k_Tabulated_requiredKeys), 0, 0, 1, 1},
20206 {&__pyx_n_s_Tabulated_setDefaultParams, __pyx_k_Tabulated_setDefaultParams,
sizeof(__pyx_k_Tabulated_setDefaultParams), 0, 0, 1, 1},
20207 {&__pyx_n_s_Tabulated_typeName, __pyx_k_Tabulated_typeName,
sizeof(__pyx_k_Tabulated_typeName), 0, 0, 1, 1},
20208 {&__pyx_n_s_Tabulated_typeNumber, __pyx_k_Tabulated_typeNumber,
sizeof(__pyx_k_Tabulated_typeNumber), 0, 0, 1, 1},
20209 {&__pyx_n_s_Tabulated_validKeys, __pyx_k_Tabulated_validKeys,
sizeof(__pyx_k_Tabulated_validKeys), 0, 0, 1, 1},
20210 {&__pyx_kp_s_The_bond_with_this_id_is_not_def, __pyx_k_The_bond_with_this_id_is_not_def,
sizeof(__pyx_k_The_bond_with_this_id_is_not_def), 0, 0, 1, 0},
20211 {&__pyx_kp_s_The_bonded_interaction_with_the, __pyx_k_The_bonded_interaction_with_the,
sizeof(__pyx_k_The_bonded_interaction_with_the), 0, 0, 1, 0},
20212 {&__pyx_kp_s_The_constructor_has_to_be_called, __pyx_k_The_constructor_has_to_be_called,
sizeof(__pyx_k_The_constructor_has_to_be_called), 0, 0, 1, 0},
20213 {&__pyx_kp_s_The_constructor_has_to_be_called_2, __pyx_k_The_constructor_has_to_be_called_2,
sizeof(__pyx_k_The_constructor_has_to_be_called_2), 0, 0, 1, 0},
20214 {&__pyx_kp_s_The_particle_types_have_to_be_of, __pyx_k_The_particle_types_have_to_be_of,
sizeof(__pyx_k_The_particle_types_have_to_be_of), 0, 0, 1, 0},
20215 {&__pyx_n_s_TypeError, __pyx_k_TypeError,
sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
20216 {&__pyx_n_s_V0, __pyx_k_V0,
sizeof(__pyx_k_V0), 0, 0, 1, 1},
20217 {&__pyx_n_s_VIRTUAL, __pyx_k_VIRTUAL,
sizeof(__pyx_k_VIRTUAL), 0, 0, 1, 1},
20218 {&__pyx_n_s_VOLUME_FORCE, __pyx_k_VOLUME_FORCE,
sizeof(__pyx_k_VOLUME_FORCE), 0, 0, 1, 1},
20219 {&__pyx_n_s_ValueError, __pyx_k_ValueError,
sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
20220 {&__pyx_n_s_Virtual, __pyx_k_Virtual,
sizeof(__pyx_k_Virtual), 0, 0, 1, 1},
20221 {&__pyx_n_s_Virtual__getParamsFromEsCore, __pyx_k_Virtual__getParamsFromEsCore,
sizeof(__pyx_k_Virtual__getParamsFromEsCore), 0, 0, 1, 1},
20222 {&__pyx_n_s_Virtual__setParamsInEsCore, __pyx_k_Virtual__setParamsInEsCore,
sizeof(__pyx_k_Virtual__setParamsInEsCore), 0, 0, 1, 1},
20223 {&__pyx_n_s_Virtual_requiredKeys, __pyx_k_Virtual_requiredKeys,
sizeof(__pyx_k_Virtual_requiredKeys), 0, 0, 1, 1},
20224 {&__pyx_n_s_Virtual_setDefaultParams, __pyx_k_Virtual_setDefaultParams,
sizeof(__pyx_k_Virtual_setDefaultParams), 0, 0, 1, 1},
20225 {&__pyx_n_s_Virtual_typeName, __pyx_k_Virtual_typeName,
sizeof(__pyx_k_Virtual_typeName), 0, 0, 1, 1},
20226 {&__pyx_n_s_Virtual_typeNumber, __pyx_k_Virtual_typeNumber,
sizeof(__pyx_k_Virtual_typeNumber), 0, 0, 1, 1},
20227 {&__pyx_n_s_Virtual_validKeys, __pyx_k_Virtual_validKeys,
sizeof(__pyx_k_Virtual_validKeys), 0, 0, 1, 1},
20228 {&__pyx_n_s_Volume_Force, __pyx_k_Volume_Force,
sizeof(__pyx_k_Volume_Force), 0, 0, 1, 1},
20229 {&__pyx_n_s_Volume_Force__getParamsFromEsCor, __pyx_k_Volume_Force__getParamsFromEsCor,
sizeof(__pyx_k_Volume_Force__getParamsFromEsCor), 0, 0, 1, 1},
20230 {&__pyx_n_s_Volume_Force__setParamsInEsCore, __pyx_k_Volume_Force__setParamsInEsCore,
sizeof(__pyx_k_Volume_Force__setParamsInEsCore), 0, 0, 1, 1},
20231 {&__pyx_n_s_Volume_Force_requiredKeys, __pyx_k_Volume_Force_requiredKeys,
sizeof(__pyx_k_Volume_Force_requiredKeys), 0, 0, 1, 1},
20232 {&__pyx_n_s_Volume_Force_setDefaultParams, __pyx_k_Volume_Force_setDefaultParams,
sizeof(__pyx_k_Volume_Force_setDefaultParams), 0, 0, 1, 1},
20233 {&__pyx_n_s_Volume_Force_typeName, __pyx_k_Volume_Force_typeName,
sizeof(__pyx_k_Volume_Force_typeName), 0, 0, 1, 1},
20234 {&__pyx_n_s_Volume_Force_typeNumber, __pyx_k_Volume_Force_typeNumber,
sizeof(__pyx_k_Volume_Force_typeNumber), 0, 0, 1, 1},
20235 {&__pyx_n_s_Volume_Force_validKeys, __pyx_k_Volume_Force_validKeys,
sizeof(__pyx_k_Volume_Force_validKeys), 0, 0, 1, 1},
20236 {&__pyx_kp_s__43, __pyx_k__43,
sizeof(__pyx_k__43), 0, 0, 1, 0},
20237 {&__pyx_kp_s__67, __pyx_k__67,
sizeof(__pyx_k__67), 0, 0, 1, 0},
20238 {&__pyx_n_s_args, __pyx_k_args,
sizeof(__pyx_k_args), 0, 0, 1, 1},
20239 {&__pyx_n_s_auto, __pyx_k_auto,
sizeof(__pyx_k_auto), 0, 0, 1, 1},
20240 {&__pyx_n_s_b1, __pyx_k_b1,
sizeof(__pyx_k_b1), 0, 0, 1, 1},
20241 {&__pyx_n_s_b2, __pyx_k_b2,
sizeof(__pyx_k_b2), 0, 0, 1, 1},
20242 {&__pyx_n_s_bend, __pyx_k_bend,
sizeof(__pyx_k_bend), 0, 0, 1, 1},
20243 {&__pyx_n_s_bondClass, __pyx_k_bondClass,
sizeof(__pyx_k_bondClass), 0, 0, 1, 1},
20244 {&__pyx_n_s_bondId, __pyx_k_bondId,
sizeof(__pyx_k_bondId), 0, 0, 1, 1},
20245 {&__pyx_n_s_bondId_2, __pyx_k_bondId_2,
sizeof(__pyx_k_bondId_2), 0, 0, 1, 1},
20246 {&__pyx_n_s_bondType, __pyx_k_bondType,
sizeof(__pyx_k_bondType), 0, 0, 1, 1},
20247 {&__pyx_kp_s_bond_in_the_Espresso_core, __pyx_k_bond_in_the_Espresso_core,
sizeof(__pyx_k_bond_in_the_Espresso_core), 0, 0, 1, 0},
20248 {&__pyx_n_s_bondedInteractionClasses, __pyx_k_bondedInteractionClasses,
sizeof(__pyx_k_bondedInteractionClasses), 0, 0, 1, 1},
20249 {&__pyx_n_s_class_s, __pyx_k_class_s,
sizeof(__pyx_k_class_s), 0, 0, 1, 1},
20250 {&__pyx_n_s_cutoff, __pyx_k_cutoff,
sizeof(__pyx_k_cutoff), 0, 0, 1, 1},
20251 {&__pyx_n_s_d_r_max, __pyx_k_d_r_max,
sizeof(__pyx_k_d_r_max), 0, 0, 1, 1},
20252 {&__pyx_n_s_defaultParams, __pyx_k_defaultParams,
sizeof(__pyx_k_defaultParams), 0, 0, 1, 1},
20253 {&__pyx_n_s_delta, __pyx_k_delta,
sizeof(__pyx_k_delta), 0, 0, 1, 1},
20254 {&__pyx_n_s_doc, __pyx_k_doc,
sizeof(__pyx_k_doc), 0, 0, 1, 1},
20255 {&__pyx_n_s_e1, __pyx_k_e1,
sizeof(__pyx_k_e1), 0, 0, 1, 1},
20256 {&__pyx_n_s_e2, __pyx_k_e2,
sizeof(__pyx_k_e2), 0, 0, 1, 1},
20257 {&__pyx_n_s_end, __pyx_k_end,
sizeof(__pyx_k_end), 0, 0, 1, 1},
20258 {&__pyx_n_s_epsilon, __pyx_k_epsilon,
sizeof(__pyx_k_epsilon), 0, 0, 1, 1},
20259 {&__pyx_n_s_espressomd_interactions, __pyx_k_espressomd_interactions,
sizeof(__pyx_k_espressomd_interactions), 0, 0, 1, 1},
20260 {&__pyx_n_s_file, __pyx_k_file,
sizeof(__pyx_k_file), 0, 0, 1, 1},
20261 {&__pyx_n_s_filename, __pyx_k_filename,
sizeof(__pyx_k_filename), 0, 0, 1, 1},
20262 {&__pyx_n_s_genericLennardJones, __pyx_k_genericLennardJones,
sizeof(__pyx_k_genericLennardJones), 0, 0, 1, 1},
20263 {&__pyx_n_s_getParamsFromEsCore, __pyx_k_getParamsFromEsCore,
sizeof(__pyx_k_getParamsFromEsCore), 0, 0, 1, 1},
20264 {&__pyx_n_s_getitem, __pyx_k_getitem,
sizeof(__pyx_k_getitem), 0, 0, 1, 1},
20265 {&__pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_k_home_haozeke_Github_LabBom_espr,
sizeof(__pyx_k_home_haozeke_Github_LabBom_espr), 0, 0, 1, 0},
20266 {&__pyx_n_s_import, __pyx_k_import,
sizeof(__pyx_k_import), 0, 0, 1, 1},
20267 {&__pyx_n_s_init, __pyx_k_init,
sizeof(__pyx_k_init), 0, 0, 1, 1},
20268 {&__pyx_n_s_invstepsize, __pyx_k_invstepsize,
sizeof(__pyx_k_invstepsize), 0, 0, 1, 1},
20269 {&__pyx_n_s_isActive, __pyx_k_isActive,
sizeof(__pyx_k_isActive), 0, 0, 1, 1},
20270 {&__pyx_kp_s_is_not_yet_defined, __pyx_k_is_not_yet_defined,
sizeof(__pyx_k_is_not_yet_defined), 0, 0, 1, 0},
20271 {&__pyx_n_s_k, __pyx_k_k,
sizeof(__pyx_k_k), 0, 0, 1, 1},
20272 {&__pyx_n_s_k1, __pyx_k_k1,
sizeof(__pyx_k_k1), 0, 0, 1, 1},
20273 {&__pyx_n_s_k2, __pyx_k_k2,
sizeof(__pyx_k_k2), 0, 0, 1, 1},
20274 {&__pyx_kp_s_k_2, __pyx_k_k_2,
sizeof(__pyx_k_k_2), 0, 0, 1, 0},
20275 {&__pyx_n_s_ka_g, __pyx_k_ka_g,
sizeof(__pyx_k_ka_g), 0, 0, 1, 1},
20276 {&__pyx_n_s_ka_l, __pyx_k_ka_l,
sizeof(__pyx_k_ka_l), 0, 0, 1, 1},
20277 {&__pyx_n_s_kb, __pyx_k_kb,
sizeof(__pyx_k_kb), 0, 0, 1, 1},
20278 {&__pyx_n_s_key, __pyx_k_key,
sizeof(__pyx_k_key), 0, 0, 1, 1},
20279 {&__pyx_n_s_keys, __pyx_k_keys,
sizeof(__pyx_k_keys), 0, 0, 1, 1},
20280 {&__pyx_n_s_ks, __pyx_k_ks,
sizeof(__pyx_k_ks), 0, 0, 1, 1},
20281 {&__pyx_n_s_kslin, __pyx_k_kslin,
sizeof(__pyx_k_kslin), 0, 0, 1, 1},
20282 {&__pyx_n_s_kv, __pyx_k_kv,
sizeof(__pyx_k_kv), 0, 0, 1, 1},
20283 {&__pyx_n_s_kwargs, __pyx_k_kwargs,
sizeof(__pyx_k_kwargs), 0, 0, 1, 1},
20284 {&__pyx_n_s_lambda, __pyx_k_lambda,
sizeof(__pyx_k_lambda), 0, 0, 1, 1},
20285 {&__pyx_n_s_lennardJones, __pyx_k_lennardJones,
sizeof(__pyx_k_lennardJones), 0, 0, 1, 1},
20286 {&__pyx_n_s_main, __pyx_k_main,
sizeof(__pyx_k_main), 0, 0, 1, 1},
20287 {&__pyx_n_s_maxval, __pyx_k_maxval,
sizeof(__pyx_k_maxval), 0, 0, 1, 1},
20288 {&__pyx_n_s_metaclass, __pyx_k_metaclass,
sizeof(__pyx_k_metaclass), 0, 0, 1, 1},
20289 {&__pyx_n_s_min, __pyx_k_min,
sizeof(__pyx_k_min), 0, 0, 1, 1},
20290 {&__pyx_n_s_minval, __pyx_k_minval,
sizeof(__pyx_k_minval), 0, 0, 1, 1},
20291 {&__pyx_n_s_module, __pyx_k_module,
sizeof(__pyx_k_module), 0, 0, 1, 1},
20292 {&__pyx_n_s_mult, __pyx_k_mult,
sizeof(__pyx_k_mult), 0, 0, 1, 1},
20293 {&__pyx_kp_s_mult_2, __pyx_k_mult_2,
sizeof(__pyx_k_mult_2), 0, 0, 1, 0},
20294 {&__pyx_n_s_name, __pyx_k_name,
sizeof(__pyx_k_name), 0, 0, 1, 1},
20295 {&__pyx_n_s_name_2, __pyx_k_name_2,
sizeof(__pyx_k_name_2), 0, 0, 1, 1},
20296 {&__pyx_kp_u_ndarray_is_not_C_contiguous, __pyx_k_ndarray_is_not_C_contiguous,
sizeof(__pyx_k_ndarray_is_not_C_contiguous), 0, 1, 0, 0},
20297 {&__pyx_kp_u_ndarray_is_not_Fortran_contiguou, __pyx_k_ndarray_is_not_Fortran_contiguou,
sizeof(__pyx_k_ndarray_is_not_Fortran_contiguou), 0, 1, 0, 0},
20298 {&__pyx_kp_s_not_compiled_into_Espresso_core, __pyx_k_not_compiled_into_Espresso_core,
sizeof(__pyx_k_not_compiled_into_Espresso_core), 0, 0, 1, 0},
20299 {&__pyx_n_s_npoints, __pyx_k_npoints,
sizeof(__pyx_k_npoints), 0, 0, 1, 1},
20300 {&__pyx_n_s_object, __pyx_k_object,
sizeof(__pyx_k_object), 0, 0, 1, 1},
20301 {&__pyx_n_s_offset, __pyx_k_offset,
sizeof(__pyx_k_offset), 0, 0, 1, 1},
20302 {&__pyx_n_s_overlap_type, __pyx_k_overlap_type,
sizeof(__pyx_k_overlap_type), 0, 0, 1, 1},
20303 {&__pyx_n_s_params, __pyx_k_params,
sizeof(__pyx_k_params), 0, 0, 1, 1},
20304 {&__pyx_n_s_params_2, __pyx_k_params_2,
sizeof(__pyx_k_params_2), 0, 0, 1, 1},
20305 {&__pyx_n_s_phase, __pyx_k_phase,
sizeof(__pyx_k_phase), 0, 0, 1, 1},
20306 {&__pyx_n_s_phi0, __pyx_k_phi0,
sizeof(__pyx_k_phi0), 0, 0, 1, 1},
20307 {&__pyx_n_s_prepare, __pyx_k_prepare,
sizeof(__pyx_k_prepare), 0, 0, 1, 1},
20308 {&__pyx_n_s_print, __pyx_k_print,
sizeof(__pyx_k_print), 0, 0, 1, 1},
20309 {&__pyx_n_s_qualname, __pyx_k_qualname,
sizeof(__pyx_k_qualname), 0, 0, 1, 1},
20310 {&__pyx_n_s_r, __pyx_k_r,
sizeof(__pyx_k_r), 0, 0, 1, 1},
20311 {&__pyx_n_s_r0, __pyx_k_r0,
sizeof(__pyx_k_r0), 0, 0, 1, 1},
20312 {&__pyx_n_s_r_0, __pyx_k_r_0,
sizeof(__pyx_k_r_0), 0, 0, 1, 1},
20313 {&__pyx_n_s_r_cut, __pyx_k_r_cut,
sizeof(__pyx_k_r_cut), 0, 0, 1, 1},
20314 {&__pyx_n_s_range, __pyx_k_range,
sizeof(__pyx_k_range), 0, 0, 1, 1},
20315 {&__pyx_n_s_requiredKeys, __pyx_k_requiredKeys,
sizeof(__pyx_k_requiredKeys), 0, 0, 1, 1},
20316 {&__pyx_kp_s_s_has_to_be_defined_in_myconfig, __pyx_k_s_has_to_be_defined_in_myconfig,
sizeof(__pyx_k_s_has_to_be_defined_in_myconfig), 0, 0, 1, 0},
20317 {&__pyx_n_s_self, __pyx_k_self,
sizeof(__pyx_k_self), 0, 0, 1, 1},
20318 {&__pyx_n_s_setDefaultParams, __pyx_k_setDefaultParams,
sizeof(__pyx_k_setDefaultParams), 0, 0, 1, 1},
20319 {&__pyx_n_s_setParamsInEsCore, __pyx_k_setParamsInEsCore,
sizeof(__pyx_k_setParamsInEsCore), 0, 0, 1, 1},
20320 {&__pyx_n_s_setitem, __pyx_k_setitem,
sizeof(__pyx_k_setitem), 0, 0, 1, 1},
20321 {&__pyx_n_s_shift, __pyx_k_shift,
sizeof(__pyx_k_shift), 0, 0, 1, 1},
20322 {&__pyx_n_s_sigma, __pyx_k_sigma,
sizeof(__pyx_k_sigma), 0, 0, 1, 1},
20323 {&__pyx_n_s_str, __pyx_k_str,
sizeof(__pyx_k_str), 0, 0, 1, 1},
20324 {&__pyx_n_s_test, __pyx_k_test,
sizeof(__pyx_k_test), 0, 0, 1, 1},
20325 {&__pyx_n_s_type, __pyx_k_type,
sizeof(__pyx_k_type), 0, 0, 1, 1},
20326 {&__pyx_n_s_type1, __pyx_k_type1,
sizeof(__pyx_k_type1), 0, 0, 1, 1},
20327 {&__pyx_n_s_type1_2, __pyx_k_type1_2,
sizeof(__pyx_k_type1_2), 0, 0, 1, 1},
20328 {&__pyx_n_s_type2, __pyx_k_type2,
sizeof(__pyx_k_type2), 0, 0, 1, 1},
20329 {&__pyx_n_s_type2_2, __pyx_k_type2_2,
sizeof(__pyx_k_type2_2), 0, 0, 1, 1},
20330 {&__pyx_n_s_typeName, __pyx_k_typeName,
sizeof(__pyx_k_typeName), 0, 0, 1, 1},
20331 {&__pyx_n_s_typeNumber, __pyx_k_typeNumber,
sizeof(__pyx_k_typeNumber), 0, 0, 1, 1},
20332 {&__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_k_unknown_dtype_code_in_numpy_pxd,
sizeof(__pyx_k_unknown_dtype_code_in_numpy_pxd), 0, 1, 0, 0},
20333 {&__pyx_n_s_update, __pyx_k_update,
sizeof(__pyx_k_update), 0, 0, 1, 1},
20334 {&__pyx_n_s_validKeys, __pyx_k_validKeys,
sizeof(__pyx_k_validKeys), 0, 0, 1, 1},
20335 {&__pyx_n_s_validateParams, __pyx_k_validateParams,
sizeof(__pyx_k_validateParams), 0, 0, 1, 1},
20336 {&__pyx_n_s_value, __pyx_k_value,
sizeof(__pyx_k_value), 0, 0, 1, 1},
20337 {0, 0, 0, 0, 0, 0, 0}
20339 static int __Pyx_InitCachedBuiltins(
void) {
20340 __pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s_object);
if (!__pyx_builtin_object) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20341 __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError);
if (!__pyx_builtin_ValueError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20342 __pyx_builtin_Exception = __Pyx_GetBuiltinName(__pyx_n_s_Exception);
if (!__pyx_builtin_Exception) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20343 __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError);
if (!__pyx_builtin_TypeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20344 __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range);
if (!__pyx_builtin_range) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 231; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20345 __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError);
if (!__pyx_builtin_RuntimeError) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 802; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20351 static int __Pyx_InitCachedConstants(
void) {
20352 __Pyx_RefNannyDeclarations
20353 __Pyx_RefNannySetupContext(
"__Pyx_InitCachedConstants", 0);
20362 __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_s_The_constructor_has_to_be_called);
if (unlikely(!__pyx_tuple_)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 58; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20363 __Pyx_GOTREF(__pyx_tuple_);
20364 __Pyx_GIVEREF(__pyx_tuple_);
20373 __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti);
if (unlikely(!__pyx_tuple__2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20374 __Pyx_GOTREF(__pyx_tuple__2);
20375 __Pyx_GIVEREF(__pyx_tuple__2);
20384 __pyx_tuple__3 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti_2);
if (unlikely(!__pyx_tuple__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20385 __Pyx_GOTREF(__pyx_tuple__3);
20386 __Pyx_GIVEREF(__pyx_tuple__3);
20395 __pyx_tuple__4 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti_3);
if (unlikely(!__pyx_tuple__4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20396 __Pyx_GOTREF(__pyx_tuple__4);
20397 __Pyx_GIVEREF(__pyx_tuple__4);
20406 __pyx_tuple__5 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti_4);
if (unlikely(!__pyx_tuple__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20407 __Pyx_GOTREF(__pyx_tuple__5);
20408 __Pyx_GIVEREF(__pyx_tuple__5);
20417 __pyx_tuple__6 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti_5);
if (unlikely(!__pyx_tuple__6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20418 __Pyx_GOTREF(__pyx_tuple__6);
20419 __Pyx_GIVEREF(__pyx_tuple__6);
20428 __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti_6);
if (unlikely(!__pyx_tuple__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20429 __Pyx_GOTREF(__pyx_tuple__7);
20430 __Pyx_GIVEREF(__pyx_tuple__7);
20439 __pyx_tuple__8 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_NonBondedInteracti_7);
if (unlikely(!__pyx_tuple__8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20440 __Pyx_GOTREF(__pyx_tuple__8);
20441 __Pyx_GIVEREF(__pyx_tuple__8);
20450 __pyx_tuple__9 = PyTuple_Pack(1, __pyx_kp_s_Lennard_Jones_eps_has_to_be_0);
if (unlikely(!__pyx_tuple__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 151; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20451 __Pyx_GOTREF(__pyx_tuple__9);
20452 __Pyx_GIVEREF(__pyx_tuple__9);
20461 __pyx_tuple__10 = PyTuple_Pack(1, __pyx_kp_s_Lennard_Jones_sigma_has_to_be_0);
if (unlikely(!__pyx_tuple__10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20462 __Pyx_GOTREF(__pyx_tuple__10);
20463 __Pyx_GIVEREF(__pyx_tuple__10);
20472 __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_s_Lennard_Jones_cutoff_has_to_be_0);
if (unlikely(!__pyx_tuple__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 155; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20473 __Pyx_GOTREF(__pyx_tuple__11);
20474 __Pyx_GIVEREF(__pyx_tuple__11);
20483 __pyx_tuple__12 = PyTuple_Pack(1, __pyx_kp_s_Could_not_set_Lennard_Jones_para);
if (unlikely(!__pyx_tuple__12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20484 __Pyx_GOTREF(__pyx_tuple__12);
20485 __Pyx_GIVEREF(__pyx_tuple__12);
20494 __pyx_tuple__13 = PyTuple_Pack(6, __pyx_n_s_epsilon, __pyx_n_s_sigma, __pyx_n_s_cutoff, __pyx_n_s_shift, __pyx_n_s_offset, __pyx_n_s_min);
if (unlikely(!__pyx_tuple__13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20495 __Pyx_GOTREF(__pyx_tuple__13);
20496 __Pyx_GIVEREF(__pyx_tuple__13);
20505 __pyx_tuple__14 = PyTuple_Pack(4, __pyx_n_s_epsilon, __pyx_n_s_sigma, __pyx_n_s_cutoff, __pyx_n_s_shift);
if (unlikely(!__pyx_tuple__14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20506 __Pyx_GOTREF(__pyx_tuple__14);
20507 __Pyx_GIVEREF(__pyx_tuple__14);
20516 __pyx_tuple__15 = PyTuple_Pack(1, __pyx_kp_s_Generic_Lennard_Jones_eps_has_to);
if (unlikely(!__pyx_tuple__15)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20517 __Pyx_GOTREF(__pyx_tuple__15);
20518 __Pyx_GIVEREF(__pyx_tuple__15);
20527 __pyx_tuple__16 = PyTuple_Pack(1, __pyx_kp_s_Generic_Lennard_Jones_sigma_has);
if (unlikely(!__pyx_tuple__16)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20528 __Pyx_GOTREF(__pyx_tuple__16);
20529 __Pyx_GIVEREF(__pyx_tuple__16);
20538 __pyx_tuple__17 = PyTuple_Pack(1, __pyx_kp_s_Generic_Lennard_Jones_cutoff_has);
if (unlikely(!__pyx_tuple__17)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20539 __Pyx_GOTREF(__pyx_tuple__17);
20540 __Pyx_GIVEREF(__pyx_tuple__17);
20549 __pyx_tuple__18 = PyTuple_Pack(1, __pyx_kp_s_Could_not_set_Generic_Lennard_Jo);
if (unlikely(!__pyx_tuple__18)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20550 __Pyx_GOTREF(__pyx_tuple__18);
20551 __Pyx_GIVEREF(__pyx_tuple__18);
20560 __pyx_tuple__19 = PyTuple_Pack(11, __pyx_n_s_epsilon, __pyx_n_s_sigma, __pyx_n_s_cutoff, __pyx_n_s_shift, __pyx_n_s_offset, __pyx_n_s_e1, __pyx_n_s_e2, __pyx_n_s_b1, __pyx_n_s_b2, __pyx_n_s_delta, __pyx_n_s_lambda);
if (unlikely(!__pyx_tuple__19)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 295; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20561 __Pyx_GOTREF(__pyx_tuple__19);
20562 __Pyx_GIVEREF(__pyx_tuple__19);
20571 __pyx_tuple__20 = PyTuple_Pack(9, __pyx_n_s_epsilon, __pyx_n_s_sigma, __pyx_n_s_cutoff, __pyx_n_s_shift, __pyx_n_s_offset, __pyx_n_s_e1, __pyx_n_s_e2, __pyx_n_s_b1, __pyx_n_s_b2);
if (unlikely(!__pyx_tuple__20)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20572 __Pyx_GOTREF(__pyx_tuple__20);
20573 __Pyx_GIVEREF(__pyx_tuple__20);
20582 __pyx_tuple__21 = PyTuple_Pack(1, __pyx_kp_s_The_particle_types_have_to_be_of);
if (unlikely(!__pyx_tuple__21)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20583 __Pyx_GOTREF(__pyx_tuple__21);
20584 __Pyx_GIVEREF(__pyx_tuple__21);
20593 __pyx_tuple__22 = PyTuple_Pack(1, __pyx_kp_s_NonBondedInteractions_expects_tw);
if (unlikely(!__pyx_tuple__22)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20594 __Pyx_GOTREF(__pyx_tuple__22);
20595 __Pyx_GIVEREF(__pyx_tuple__22);
20604 __pyx_tuple__23 = PyTuple_Pack(1, __pyx_kp_s_NonBondedInteractions_expects_tw);
if (unlikely(!__pyx_tuple__23)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20605 __Pyx_GOTREF(__pyx_tuple__23);
20606 __Pyx_GIVEREF(__pyx_tuple__23);
20615 __pyx_tuple__24 = PyTuple_Pack(1, __pyx_kp_s_Could_not_set_forcecap);
if (unlikely(!__pyx_tuple__24)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 341; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20616 __Pyx_GOTREF(__pyx_tuple__24);
20617 __Pyx_GIVEREF(__pyx_tuple__24);
20626 __pyx_tuple__25 = PyTuple_Pack(1, __pyx_kp_s_The_constructor_has_to_be_called_2);
if (unlikely(!__pyx_tuple__25)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20627 __Pyx_GOTREF(__pyx_tuple__25);
20628 __Pyx_GIVEREF(__pyx_tuple__25);
20637 __pyx_tuple__26 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction);
if (unlikely(!__pyx_tuple__26)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 420; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20638 __Pyx_GOTREF(__pyx_tuple__26);
20639 __Pyx_GIVEREF(__pyx_tuple__26);
20648 __pyx_tuple__27 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction_2);
if (unlikely(!__pyx_tuple__27)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 424; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20649 __Pyx_GOTREF(__pyx_tuple__27);
20650 __Pyx_GIVEREF(__pyx_tuple__27);
20659 __pyx_tuple__28 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction_3);
if (unlikely(!__pyx_tuple__28)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20660 __Pyx_GOTREF(__pyx_tuple__28);
20661 __Pyx_GIVEREF(__pyx_tuple__28);
20670 __pyx_tuple__29 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction_4);
if (unlikely(!__pyx_tuple__29)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 432; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20671 __Pyx_GOTREF(__pyx_tuple__29);
20672 __Pyx_GIVEREF(__pyx_tuple__29);
20681 __pyx_tuple__30 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction_5);
if (unlikely(!__pyx_tuple__30)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 436; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20682 __Pyx_GOTREF(__pyx_tuple__30);
20683 __Pyx_GIVEREF(__pyx_tuple__30);
20692 __pyx_tuple__31 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction_6);
if (unlikely(!__pyx_tuple__31)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20693 __Pyx_GOTREF(__pyx_tuple__31);
20694 __Pyx_GIVEREF(__pyx_tuple__31);
20703 __pyx_tuple__32 = PyTuple_Pack(1, __pyx_kp_s_Subclasses_of_BondedInteraction_7);
if (unlikely(!__pyx_tuple__32)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20704 __Pyx_GOTREF(__pyx_tuple__32);
20705 __Pyx_GIVEREF(__pyx_tuple__32);
20714 __pyx_tuple__33 = PyTuple_Pack(3, __pyx_n_s_k, __pyx_n_s_d_r_max, __pyx_n_s_r_0);
if (unlikely(!__pyx_tuple__33)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 485; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20715 __Pyx_GOTREF(__pyx_tuple__33);
20716 __Pyx_GIVEREF(__pyx_tuple__33);
20725 __pyx_tuple__34 = PyTuple_Pack(2, __pyx_n_s_k, __pyx_n_s_d_r_max);
if (unlikely(!__pyx_tuple__34)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 488; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20726 __Pyx_GOTREF(__pyx_tuple__34);
20727 __Pyx_GIVEREF(__pyx_tuple__34);
20736 __pyx_tuple__35 = PyTuple_Pack(3, __pyx_n_s_k, __pyx_n_s_r_0, __pyx_n_s_r_cut);
if (unlikely(!__pyx_tuple__35)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 514; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20737 __Pyx_GOTREF(__pyx_tuple__35);
20738 __Pyx_GIVEREF(__pyx_tuple__35);
20747 __pyx_tuple__36 = PyTuple_Pack(2, __pyx_n_s_k, __pyx_n_s_r_0);
if (unlikely(!__pyx_tuple__36)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 517; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20748 __Pyx_GOTREF(__pyx_tuple__36);
20749 __Pyx_GIVEREF(__pyx_tuple__36);
20758 __pyx_tuple__37 = PyTuple_Pack(4, __pyx_n_s_k1, __pyx_n_s_k2, __pyx_n_s_r_0, __pyx_n_s_r_cut);
if (unlikely(!__pyx_tuple__37)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20759 __Pyx_GOTREF(__pyx_tuple__37);
20760 __Pyx_GIVEREF(__pyx_tuple__37);
20769 __pyx_tuple__38 = PyTuple_Pack(3, __pyx_n_s_k1, __pyx_n_s_k2, __pyx_n_s_r_0);
if (unlikely(!__pyx_tuple__38)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 546; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20770 __Pyx_GOTREF(__pyx_tuple__38);
20771 __Pyx_GIVEREF(__pyx_tuple__38);
20780 __pyx_tuple__39 = PyTuple_Pack(3, __pyx_n_s_mult, __pyx_n_s_bend, __pyx_n_s_phase);
if (unlikely(!__pyx_tuple__39)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 636; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20781 __Pyx_GOTREF(__pyx_tuple__39);
20782 __Pyx_GIVEREF(__pyx_tuple__39);
20791 __pyx_tuple__40 = PyTuple_Pack(3, __pyx_n_s_mult, __pyx_n_s_bend, __pyx_n_s_phase);
if (unlikely(!__pyx_tuple__40)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 639; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20792 __Pyx_GOTREF(__pyx_tuple__40);
20793 __Pyx_GIVEREF(__pyx_tuple__40);
20802 __pyx_tuple__41 = PyTuple_Pack(6, __pyx_n_s_type, __pyx_n_s_filename, __pyx_n_s_npoints, __pyx_n_s_minval, __pyx_n_s_maxval, __pyx_n_s_invstepsize);
if (unlikely(!__pyx_tuple__41)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 665; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20803 __Pyx_GOTREF(__pyx_tuple__41);
20804 __Pyx_GIVEREF(__pyx_tuple__41);
20813 __pyx_tuple__42 = PyTuple_Pack(6, __pyx_n_s_type, __pyx_n_s_filename, __pyx_n_s_npoints, __pyx_n_s_minval, __pyx_n_s_maxval, __pyx_n_s_invstepsize);
if (unlikely(!__pyx_tuple__42)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 668; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20814 __Pyx_GOTREF(__pyx_tuple__42);
20815 __Pyx_GIVEREF(__pyx_tuple__42);
20824 __pyx_tuple__44 = PyTuple_Pack(2, __pyx_n_s_r, __pyx_n_s_k);
if (unlikely(!__pyx_tuple__44)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 722; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20825 __Pyx_GOTREF(__pyx_tuple__44);
20826 __Pyx_GIVEREF(__pyx_tuple__44);
20835 __pyx_tuple__45 = PyTuple_Pack(2, __pyx_n_s_r, __pyx_n_s_k);
if (unlikely(!__pyx_tuple__45)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 725; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20836 __Pyx_GOTREF(__pyx_tuple__45);
20837 __Pyx_GIVEREF(__pyx_tuple__45);
20846 __pyx_tuple__46 = PyTuple_Pack(2, __pyx_n_s_overlap_type, __pyx_n_s_filename);
if (unlikely(!__pyx_tuple__46)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 810; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20847 __Pyx_GOTREF(__pyx_tuple__46);
20848 __Pyx_GIVEREF(__pyx_tuple__46);
20857 __pyx_tuple__47 = PyTuple_Pack(2, __pyx_n_s_overlap_type, __pyx_n_s_filename);
if (unlikely(!__pyx_tuple__47)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20858 __Pyx_GOTREF(__pyx_tuple__47);
20859 __Pyx_GIVEREF(__pyx_tuple__47);
20868 __pyx_tuple__48 = PyTuple_Pack(2, __pyx_n_s_bend, __pyx_n_s_phi0);
if (unlikely(!__pyx_tuple__48)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 841; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20869 __Pyx_GOTREF(__pyx_tuple__48);
20870 __Pyx_GIVEREF(__pyx_tuple__48);
20879 __pyx_tuple__49 = PyTuple_Pack(2, __pyx_n_s_bend, __pyx_n_s_phi0);
if (unlikely(!__pyx_tuple__49)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 844; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20880 __Pyx_GOTREF(__pyx_tuple__49);
20881 __Pyx_GIVEREF(__pyx_tuple__49);
20890 __pyx_tuple__50 = PyTuple_Pack(2, __pyx_n_s_bend, __pyx_n_s_phi0);
if (unlikely(!__pyx_tuple__50)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 871; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20891 __Pyx_GOTREF(__pyx_tuple__50);
20892 __Pyx_GIVEREF(__pyx_tuple__50);
20901 __pyx_tuple__51 = PyTuple_Pack(2, __pyx_n_s_bend, __pyx_n_s_phi0);
if (unlikely(!__pyx_tuple__51)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 874; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20902 __Pyx_GOTREF(__pyx_tuple__51);
20903 __Pyx_GIVEREF(__pyx_tuple__51);
20912 __pyx_tuple__52 = PyTuple_Pack(2, __pyx_n_s_bend, __pyx_n_s_phi0);
if (unlikely(!__pyx_tuple__52)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 901; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20913 __Pyx_GOTREF(__pyx_tuple__52);
20914 __Pyx_GIVEREF(__pyx_tuple__52);
20923 __pyx_tuple__53 = PyTuple_Pack(2, __pyx_n_s_bend, __pyx_n_s_phi0);
if (unlikely(!__pyx_tuple__53)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 904; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20924 __Pyx_GOTREF(__pyx_tuple__53);
20925 __Pyx_GIVEREF(__pyx_tuple__53);
20934 __pyx_tuple__54 = PyTuple_Pack(2, __pyx_n_s_r0, __pyx_n_s_ks);
if (unlikely(!__pyx_tuple__54)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 931; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20935 __Pyx_GOTREF(__pyx_tuple__54);
20936 __Pyx_GIVEREF(__pyx_tuple__54);
20945 __pyx_tuple__55 = PyTuple_Pack(2, __pyx_n_s_r0, __pyx_n_s_ks);
if (unlikely(!__pyx_tuple__55)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 934; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20946 __Pyx_GOTREF(__pyx_tuple__55);
20947 __Pyx_GIVEREF(__pyx_tuple__55);
20956 __pyx_tuple__56 = PyTuple_Pack(2, __pyx_n_s_A0_l, __pyx_n_s_ka_l);
if (unlikely(!__pyx_tuple__56)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 958; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20957 __Pyx_GOTREF(__pyx_tuple__56);
20958 __Pyx_GIVEREF(__pyx_tuple__56);
20967 __pyx_tuple__57 = PyTuple_Pack(2, __pyx_n_s_A0_l, __pyx_n_s_ka_l);
if (unlikely(!__pyx_tuple__57)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 961; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20968 __Pyx_GOTREF(__pyx_tuple__57);
20969 __Pyx_GIVEREF(__pyx_tuple__57);
20978 __pyx_tuple__58 = PyTuple_Pack(2, __pyx_n_s_phi0, __pyx_n_s_kb);
if (unlikely(!__pyx_tuple__58)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 985; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20979 __Pyx_GOTREF(__pyx_tuple__58);
20980 __Pyx_GIVEREF(__pyx_tuple__58);
20989 __pyx_tuple__59 = PyTuple_Pack(2, __pyx_n_s_phi0, __pyx_n_s_kb);
if (unlikely(!__pyx_tuple__59)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 988; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
20990 __Pyx_GOTREF(__pyx_tuple__59);
20991 __Pyx_GIVEREF(__pyx_tuple__59);
21000 __pyx_tuple__60 = PyTuple_Pack(2, __pyx_n_s_V0, __pyx_n_s_kv);
if (unlikely(!__pyx_tuple__60)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1012; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21001 __Pyx_GOTREF(__pyx_tuple__60);
21002 __Pyx_GIVEREF(__pyx_tuple__60);
21011 __pyx_tuple__61 = PyTuple_Pack(2, __pyx_n_s_V0, __pyx_n_s_kv);
if (unlikely(!__pyx_tuple__61)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1015; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21012 __Pyx_GOTREF(__pyx_tuple__61);
21013 __Pyx_GIVEREF(__pyx_tuple__61);
21022 __pyx_tuple__62 = PyTuple_Pack(2, __pyx_n_s_A0_g, __pyx_n_s_ka_g);
if (unlikely(!__pyx_tuple__62)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1039; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21023 __Pyx_GOTREF(__pyx_tuple__62);
21024 __Pyx_GIVEREF(__pyx_tuple__62);
21033 __pyx_tuple__63 = PyTuple_Pack(2, __pyx_n_s_A0_g, __pyx_n_s_ka_g);
if (unlikely(!__pyx_tuple__63)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1042; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21034 __Pyx_GOTREF(__pyx_tuple__63);
21035 __Pyx_GIVEREF(__pyx_tuple__63);
21044 __pyx_tuple__64 = PyTuple_Pack(2, __pyx_n_s_r0, __pyx_n_s_kslin);
if (unlikely(!__pyx_tuple__64)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1066; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21045 __Pyx_GOTREF(__pyx_tuple__64);
21046 __Pyx_GIVEREF(__pyx_tuple__64);
21055 __pyx_tuple__65 = PyTuple_Pack(2, __pyx_n_s_r0, __pyx_n_s_kslin);
if (unlikely(!__pyx_tuple__65)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1069; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21056 __Pyx_GOTREF(__pyx_tuple__65);
21057 __Pyx_GIVEREF(__pyx_tuple__65);
21066 __pyx_tuple__66 = PyTuple_Pack(1, __pyx_kp_s_Index_to_BondedInteractions_hast);
if (unlikely(!__pyx_tuple__66)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1103; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21067 __Pyx_GOTREF(__pyx_tuple__66);
21068 __Pyx_GIVEREF(__pyx_tuple__66);
21077 __pyx_tuple__68 = PyTuple_Pack(1, __pyx_kp_s_Index_to_BondedInteractions_has);
if (unlikely(!__pyx_tuple__68)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1128; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21078 __Pyx_GOTREF(__pyx_tuple__68);
21079 __Pyx_GIVEREF(__pyx_tuple__68);
21088 __pyx_tuple__69 = PyTuple_Pack(1, __pyx_kp_s_Only_subclasses_of_BondedInterac);
if (unlikely(!__pyx_tuple__69)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1133; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21089 __Pyx_GOTREF(__pyx_tuple__69);
21090 __Pyx_GIVEREF(__pyx_tuple__69);
21099 __pyx_tuple__70 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_C_contiguous);
if (unlikely(!__pyx_tuple__70)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 218; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21100 __Pyx_GOTREF(__pyx_tuple__70);
21101 __Pyx_GIVEREF(__pyx_tuple__70);
21110 __pyx_tuple__71 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_Fortran_contiguou);
if (unlikely(!__pyx_tuple__71)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 222; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21111 __Pyx_GOTREF(__pyx_tuple__71);
21112 __Pyx_GIVEREF(__pyx_tuple__71);
21121 __pyx_tuple__72 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor);
if (unlikely(!__pyx_tuple__72)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 260; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21122 __Pyx_GOTREF(__pyx_tuple__72);
21123 __Pyx_GIVEREF(__pyx_tuple__72);
21132 __pyx_tuple__73 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor);
if (unlikely(!__pyx_tuple__73)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 802; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21133 __Pyx_GOTREF(__pyx_tuple__73);
21134 __Pyx_GIVEREF(__pyx_tuple__73);
21143 __pyx_tuple__74 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor);
if (unlikely(!__pyx_tuple__74)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21144 __Pyx_GOTREF(__pyx_tuple__74);
21145 __Pyx_GIVEREF(__pyx_tuple__74);
21154 __pyx_tuple__75 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor_2);
if (unlikely(!__pyx_tuple__75)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 826; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21155 __Pyx_GOTREF(__pyx_tuple__75);
21156 __Pyx_GIVEREF(__pyx_tuple__75);
21165 __pyx_tuple__76 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_type1, __pyx_n_s_type2);
if (unlikely(!__pyx_tuple__76)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21166 __Pyx_GOTREF(__pyx_tuple__76);
21167 __Pyx_GIVEREF(__pyx_tuple__76);
21168 __pyx_codeobj__77 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__76, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_init, 312, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__77)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21177 __pyx_tuple__78 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_args, __pyx_n_s_kwargs);
if (unlikely(!__pyx_tuple__78)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21178 __Pyx_GOTREF(__pyx_tuple__78);
21179 __Pyx_GIVEREF(__pyx_tuple__78);
21180 __pyx_codeobj__79 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__78, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_init, 450, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__79)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21189 __pyx_tuple__80 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__80)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21190 __Pyx_GOTREF(__pyx_tuple__80);
21191 __Pyx_GIVEREF(__pyx_tuple__80);
21192 __pyx_codeobj__81 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__80, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 454, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__81)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21201 __pyx_tuple__82 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__82)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21202 __Pyx_GOTREF(__pyx_tuple__82);
21203 __Pyx_GIVEREF(__pyx_tuple__82);
21204 __pyx_codeobj__83 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__82, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 457, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__83)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21213 __pyx_tuple__84 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__84)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21214 __Pyx_GOTREF(__pyx_tuple__84);
21215 __Pyx_GIVEREF(__pyx_tuple__84);
21216 __pyx_codeobj__85 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 460, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__85)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21225 __pyx_tuple__86 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__86)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21226 __Pyx_GOTREF(__pyx_tuple__86);
21227 __Pyx_GIVEREF(__pyx_tuple__86);
21228 __pyx_codeobj__87 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__86, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 463, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__87)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21237 __pyx_tuple__88 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__88)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 466; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21238 __Pyx_GOTREF(__pyx_tuple__88);
21239 __Pyx_GIVEREF(__pyx_tuple__88);
21240 __pyx_codeobj__89 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__88, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 466, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__89)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 466; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21249 __pyx_tuple__90 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__90)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 469; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21250 __Pyx_GOTREF(__pyx_tuple__90);
21251 __Pyx_GIVEREF(__pyx_tuple__90);
21252 __pyx_codeobj__91 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__90, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 469, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__91)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 469; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21261 __pyx_tuple__92 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__92)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21262 __Pyx_GOTREF(__pyx_tuple__92);
21263 __Pyx_GIVEREF(__pyx_tuple__92);
21264 __pyx_codeobj__93 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__92, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 472, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__93)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21273 __pyx_tuple__94 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__94)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21274 __Pyx_GOTREF(__pyx_tuple__94);
21275 __Pyx_GIVEREF(__pyx_tuple__94);
21276 __pyx_codeobj__95 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__94, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 478, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__95)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21285 __pyx_tuple__96 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__96)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 481; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21286 __Pyx_GOTREF(__pyx_tuple__96);
21287 __Pyx_GIVEREF(__pyx_tuple__96);
21288 __pyx_codeobj__97 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__96, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 481, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__97)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 481; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21297 __pyx_tuple__98 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__98)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 484; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21298 __Pyx_GOTREF(__pyx_tuple__98);
21299 __Pyx_GIVEREF(__pyx_tuple__98);
21300 __pyx_codeobj__99 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__98, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 484, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__99)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 484; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21309 __pyx_tuple__100 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__100)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21310 __Pyx_GOTREF(__pyx_tuple__100);
21311 __Pyx_GIVEREF(__pyx_tuple__100);
21312 __pyx_codeobj__101 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__100, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 487, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__101)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21321 __pyx_tuple__102 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__102)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21322 __Pyx_GOTREF(__pyx_tuple__102);
21323 __Pyx_GIVEREF(__pyx_tuple__102);
21324 __pyx_codeobj__103 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__102, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 490, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__103)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21333 __pyx_tuple__104 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__104)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 494; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21334 __Pyx_GOTREF(__pyx_tuple__104);
21335 __Pyx_GIVEREF(__pyx_tuple__104);
21336 __pyx_codeobj__105 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__104, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 494, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__105)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 494; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21345 __pyx_tuple__106 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__106)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21346 __Pyx_GOTREF(__pyx_tuple__106);
21347 __Pyx_GIVEREF(__pyx_tuple__106);
21348 __pyx_codeobj__107 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__106, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 500, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__107)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21357 __pyx_tuple__108 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__108)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21358 __Pyx_GOTREF(__pyx_tuple__108);
21359 __Pyx_GIVEREF(__pyx_tuple__108);
21360 __pyx_codeobj__109 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__108, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 507, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__109)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21369 __pyx_tuple__110 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__110)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 510; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21370 __Pyx_GOTREF(__pyx_tuple__110);
21371 __Pyx_GIVEREF(__pyx_tuple__110);
21372 __pyx_codeobj__111 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__110, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 510, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__111)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 510; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21381 __pyx_tuple__112 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__112)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21382 __Pyx_GOTREF(__pyx_tuple__112);
21383 __Pyx_GIVEREF(__pyx_tuple__112);
21384 __pyx_codeobj__113 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__112, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 513, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__113)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21393 __pyx_tuple__114 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__114)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21394 __Pyx_GOTREF(__pyx_tuple__114);
21395 __Pyx_GIVEREF(__pyx_tuple__114);
21396 __pyx_codeobj__115 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__114, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 516, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__115)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21405 __pyx_tuple__116 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__116)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21406 __Pyx_GOTREF(__pyx_tuple__116);
21407 __Pyx_GIVEREF(__pyx_tuple__116);
21408 __pyx_codeobj__117 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__116, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 519, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__117)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21417 __pyx_tuple__118 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__118)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21418 __Pyx_GOTREF(__pyx_tuple__118);
21419 __Pyx_GIVEREF(__pyx_tuple__118);
21420 __pyx_codeobj__119 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__118, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 522, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__119)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21429 __pyx_tuple__120 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__120)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21430 __Pyx_GOTREF(__pyx_tuple__120);
21431 __Pyx_GIVEREF(__pyx_tuple__120);
21432 __pyx_codeobj__121 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__120, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 528, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__121)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21441 __pyx_tuple__122 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__122)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21442 __Pyx_GOTREF(__pyx_tuple__122);
21443 __Pyx_GIVEREF(__pyx_tuple__122);
21444 __pyx_codeobj__123 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__122, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 536, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__123)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21453 __pyx_tuple__124 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__124)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 539; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21454 __Pyx_GOTREF(__pyx_tuple__124);
21455 __Pyx_GIVEREF(__pyx_tuple__124);
21456 __pyx_codeobj__125 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__124, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 539, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__125)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 539; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21465 __pyx_tuple__126 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__126)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21466 __Pyx_GOTREF(__pyx_tuple__126);
21467 __Pyx_GIVEREF(__pyx_tuple__126);
21468 __pyx_codeobj__127 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__126, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 542, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__127)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21477 __pyx_tuple__128 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__128)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21478 __Pyx_GOTREF(__pyx_tuple__128);
21479 __Pyx_GIVEREF(__pyx_tuple__128);
21480 __pyx_codeobj__129 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__128, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 545, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__129)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21489 __pyx_tuple__130 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__130)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21490 __Pyx_GOTREF(__pyx_tuple__130);
21491 __Pyx_GIVEREF(__pyx_tuple__130);
21492 __pyx_codeobj__131 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__130, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 548, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__131)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21501 __pyx_tuple__132 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__132)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21502 __Pyx_GOTREF(__pyx_tuple__132);
21503 __Pyx_GIVEREF(__pyx_tuple__132);
21504 __pyx_codeobj__133 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__132, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 551, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__133)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21513 __pyx_tuple__134 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__134)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 558; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21514 __Pyx_GOTREF(__pyx_tuple__134);
21515 __Pyx_GIVEREF(__pyx_tuple__134);
21516 __pyx_codeobj__135 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__134, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 558, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__135)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 558; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21525 __pyx_tuple__136 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__136)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 629; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21526 __Pyx_GOTREF(__pyx_tuple__136);
21527 __Pyx_GIVEREF(__pyx_tuple__136);
21528 __pyx_codeobj__137 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__136, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 629, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__137)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 629; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21537 __pyx_tuple__138 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__138)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 632; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21538 __Pyx_GOTREF(__pyx_tuple__138);
21539 __Pyx_GIVEREF(__pyx_tuple__138);
21540 __pyx_codeobj__139 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__138, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 632, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__139)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 632; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21549 __pyx_tuple__140 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__140)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21550 __Pyx_GOTREF(__pyx_tuple__140);
21551 __Pyx_GIVEREF(__pyx_tuple__140);
21552 __pyx_codeobj__141 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__140, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 635, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__141)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21561 __pyx_tuple__142 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__142)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 638; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21562 __Pyx_GOTREF(__pyx_tuple__142);
21563 __Pyx_GIVEREF(__pyx_tuple__142);
21564 __pyx_codeobj__143 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__142, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 638, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__143)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 638; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21573 __pyx_tuple__144 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__144)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21574 __Pyx_GOTREF(__pyx_tuple__144);
21575 __Pyx_GIVEREF(__pyx_tuple__144);
21576 __pyx_codeobj__145 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__144, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 641, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__145)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21585 __pyx_tuple__146 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__146)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 644; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21586 __Pyx_GOTREF(__pyx_tuple__146);
21587 __Pyx_GIVEREF(__pyx_tuple__146);
21588 __pyx_codeobj__147 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__146, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 644, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__147)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 644; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21597 __pyx_tuple__148 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__148)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 650; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21598 __Pyx_GOTREF(__pyx_tuple__148);
21599 __Pyx_GIVEREF(__pyx_tuple__148);
21600 __pyx_codeobj__149 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__148, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 650, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__149)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 650; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21609 __pyx_tuple__150 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__150)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21610 __Pyx_GOTREF(__pyx_tuple__150);
21611 __Pyx_GIVEREF(__pyx_tuple__150);
21612 __pyx_codeobj__151 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__150, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 658, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__151)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21621 __pyx_tuple__152 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__152)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 661; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21622 __Pyx_GOTREF(__pyx_tuple__152);
21623 __Pyx_GIVEREF(__pyx_tuple__152);
21624 __pyx_codeobj__153 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__152, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 661, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__153)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 661; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21633 __pyx_tuple__154 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__154)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21634 __Pyx_GOTREF(__pyx_tuple__154);
21635 __Pyx_GIVEREF(__pyx_tuple__154);
21636 __pyx_codeobj__155 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__154, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 664, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__155)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21645 __pyx_tuple__156 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__156)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21646 __Pyx_GOTREF(__pyx_tuple__156);
21647 __Pyx_GIVEREF(__pyx_tuple__156);
21648 __pyx_codeobj__157 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__156, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 667, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__157)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21657 __pyx_tuple__158 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__158)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 670; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21658 __Pyx_GOTREF(__pyx_tuple__158);
21659 __Pyx_GIVEREF(__pyx_tuple__158);
21660 __pyx_codeobj__159 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__158, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 670, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__159)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 670; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21669 __pyx_tuple__160 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__160)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21670 __Pyx_GOTREF(__pyx_tuple__160);
21671 __Pyx_GIVEREF(__pyx_tuple__160);
21672 __pyx_codeobj__161 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__160, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 674, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__161)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21681 __pyx_tuple__162 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__162)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21682 __Pyx_GOTREF(__pyx_tuple__162);
21683 __Pyx_GIVEREF(__pyx_tuple__162);
21684 __pyx_codeobj__163 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__162, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 683, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__163)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21693 __pyx_tuple__164 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__164)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21694 __Pyx_GOTREF(__pyx_tuple__164);
21695 __Pyx_GIVEREF(__pyx_tuple__164);
21696 __pyx_codeobj__165 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__164, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 715, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__165)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21705 __pyx_tuple__166 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__166)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21706 __Pyx_GOTREF(__pyx_tuple__166);
21707 __Pyx_GIVEREF(__pyx_tuple__166);
21708 __pyx_codeobj__167 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__166, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 718, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__167)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21717 __pyx_tuple__168 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__168)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21718 __Pyx_GOTREF(__pyx_tuple__168);
21719 __Pyx_GIVEREF(__pyx_tuple__168);
21720 __pyx_codeobj__169 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__168, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 721, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__169)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21729 __pyx_tuple__170 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__170)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 724; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21730 __Pyx_GOTREF(__pyx_tuple__170);
21731 __Pyx_GIVEREF(__pyx_tuple__170);
21732 __pyx_codeobj__171 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__170, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 724, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__171)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 724; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21741 __pyx_tuple__172 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__172)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21742 __Pyx_GOTREF(__pyx_tuple__172);
21743 __Pyx_GIVEREF(__pyx_tuple__172);
21744 __pyx_codeobj__173 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__172, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 727, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__173)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21753 __pyx_tuple__174 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__174)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 730; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21754 __Pyx_GOTREF(__pyx_tuple__174);
21755 __Pyx_GIVEREF(__pyx_tuple__174);
21756 __pyx_codeobj__175 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__174, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 730, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__175)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 730; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21765 __pyx_tuple__176 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__176)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21766 __Pyx_GOTREF(__pyx_tuple__176);
21767 __Pyx_GIVEREF(__pyx_tuple__176);
21768 __pyx_codeobj__177 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__176, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 735, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__177)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21777 __pyx_tuple__178 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__178)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21778 __Pyx_GOTREF(__pyx_tuple__178);
21779 __Pyx_GIVEREF(__pyx_tuple__178);
21780 __pyx_codeobj__179 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__178, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 742, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__179)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21789 __pyx_tuple__180 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__180)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 745; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21790 __Pyx_GOTREF(__pyx_tuple__180);
21791 __Pyx_GIVEREF(__pyx_tuple__180);
21792 __pyx_codeobj__181 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__180, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 745, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__181)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 745; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21801 __pyx_tuple__182 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__182)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 748; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21802 __Pyx_GOTREF(__pyx_tuple__182);
21803 __Pyx_GIVEREF(__pyx_tuple__182);
21804 __pyx_codeobj__183 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__182, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 748, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__183)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 748; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21813 __pyx_tuple__184 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__184)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21814 __Pyx_GOTREF(__pyx_tuple__184);
21815 __Pyx_GIVEREF(__pyx_tuple__184);
21816 __pyx_codeobj__185 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__184, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 751, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__185)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21825 __pyx_tuple__186 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__186)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 754; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21826 __Pyx_GOTREF(__pyx_tuple__186);
21827 __Pyx_GIVEREF(__pyx_tuple__186);
21828 __pyx_codeobj__187 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__186, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 754, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__187)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 754; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21837 __pyx_tuple__188 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__188)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21838 __Pyx_GOTREF(__pyx_tuple__188);
21839 __Pyx_GIVEREF(__pyx_tuple__188);
21840 __pyx_codeobj__189 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__188, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 757, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__189)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21849 __pyx_tuple__190 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__190)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 760; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21850 __Pyx_GOTREF(__pyx_tuple__190);
21851 __Pyx_GIVEREF(__pyx_tuple__190);
21852 __pyx_codeobj__191 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__190, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 760, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__191)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 760; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21861 __pyx_tuple__192 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__192)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 803; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21862 __Pyx_GOTREF(__pyx_tuple__192);
21863 __Pyx_GIVEREF(__pyx_tuple__192);
21864 __pyx_codeobj__193 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__192, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 803, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__193)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 803; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21873 __pyx_tuple__194 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__194)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21874 __Pyx_GOTREF(__pyx_tuple__194);
21875 __Pyx_GIVEREF(__pyx_tuple__194);
21876 __pyx_codeobj__195 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__194, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 806, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__195)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21885 __pyx_tuple__196 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__196)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 809; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21886 __Pyx_GOTREF(__pyx_tuple__196);
21887 __Pyx_GIVEREF(__pyx_tuple__196);
21888 __pyx_codeobj__197 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__196, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 809, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__197)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 809; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21897 __pyx_tuple__198 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__198)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21898 __Pyx_GOTREF(__pyx_tuple__198);
21899 __Pyx_GIVEREF(__pyx_tuple__198);
21900 __pyx_codeobj__199 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__198, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 812, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__199)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21909 __pyx_tuple__200 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__200)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21910 __Pyx_GOTREF(__pyx_tuple__200);
21911 __Pyx_GIVEREF(__pyx_tuple__200);
21912 __pyx_codeobj__201 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__200, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 815, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__201)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21921 __pyx_tuple__202 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__202)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21922 __Pyx_GOTREF(__pyx_tuple__202);
21923 __Pyx_GIVEREF(__pyx_tuple__202);
21924 __pyx_codeobj__203 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__202, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 818, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__203)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21933 __pyx_tuple__204 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__204)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21934 __Pyx_GOTREF(__pyx_tuple__204);
21935 __Pyx_GIVEREF(__pyx_tuple__204);
21936 __pyx_codeobj__205 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__204, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 823, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__205)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21945 __pyx_tuple__206 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__206)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21946 __Pyx_GOTREF(__pyx_tuple__206);
21947 __Pyx_GIVEREF(__pyx_tuple__206);
21948 __pyx_codeobj__207 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__206, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 834, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__207)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21957 __pyx_tuple__208 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__208)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21958 __Pyx_GOTREF(__pyx_tuple__208);
21959 __Pyx_GIVEREF(__pyx_tuple__208);
21960 __pyx_codeobj__209 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__208, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 837, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__209)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21969 __pyx_tuple__210 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__210)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21970 __Pyx_GOTREF(__pyx_tuple__210);
21971 __Pyx_GIVEREF(__pyx_tuple__210);
21972 __pyx_codeobj__211 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__210, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 840, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__211)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21981 __pyx_tuple__212 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__212)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21982 __Pyx_GOTREF(__pyx_tuple__212);
21983 __Pyx_GIVEREF(__pyx_tuple__212);
21984 __pyx_codeobj__213 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__212, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 843, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__213)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21993 __pyx_tuple__214 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__214)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 846; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
21994 __Pyx_GOTREF(__pyx_tuple__214);
21995 __Pyx_GIVEREF(__pyx_tuple__214);
21996 __pyx_codeobj__215 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__214, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 846, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__215)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 846; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22005 __pyx_tuple__216 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__216)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 849; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22006 __Pyx_GOTREF(__pyx_tuple__216);
22007 __Pyx_GIVEREF(__pyx_tuple__216);
22008 __pyx_codeobj__217 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__216, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 849, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__217)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 849; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22017 __pyx_tuple__218 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__218)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22018 __Pyx_GOTREF(__pyx_tuple__218);
22019 __Pyx_GIVEREF(__pyx_tuple__218);
22020 __pyx_codeobj__219 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__218, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 854, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__219)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22029 __pyx_tuple__220 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__220)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22030 __Pyx_GOTREF(__pyx_tuple__220);
22031 __Pyx_GIVEREF(__pyx_tuple__220);
22032 __pyx_codeobj__221 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__220, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 864, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__221)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22041 __pyx_tuple__222 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__222)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 867; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22042 __Pyx_GOTREF(__pyx_tuple__222);
22043 __Pyx_GIVEREF(__pyx_tuple__222);
22044 __pyx_codeobj__223 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__222, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 867, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__223)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 867; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22053 __pyx_tuple__224 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__224)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 870; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22054 __Pyx_GOTREF(__pyx_tuple__224);
22055 __Pyx_GIVEREF(__pyx_tuple__224);
22056 __pyx_codeobj__225 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__224, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 870, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__225)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 870; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22065 __pyx_tuple__226 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__226)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 873; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22066 __Pyx_GOTREF(__pyx_tuple__226);
22067 __Pyx_GIVEREF(__pyx_tuple__226);
22068 __pyx_codeobj__227 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__226, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 873, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__227)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 873; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22077 __pyx_tuple__228 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__228)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22078 __Pyx_GOTREF(__pyx_tuple__228);
22079 __Pyx_GIVEREF(__pyx_tuple__228);
22080 __pyx_codeobj__229 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__228, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 876, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__229)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22089 __pyx_tuple__230 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__230)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 879; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22090 __Pyx_GOTREF(__pyx_tuple__230);
22091 __Pyx_GIVEREF(__pyx_tuple__230);
22092 __pyx_codeobj__231 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__230, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 879, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__231)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 879; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22101 __pyx_tuple__232 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__232)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22102 __Pyx_GOTREF(__pyx_tuple__232);
22103 __Pyx_GIVEREF(__pyx_tuple__232);
22104 __pyx_codeobj__233 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__232, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 884, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__233)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22113 __pyx_tuple__234 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__234)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 894; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22114 __Pyx_GOTREF(__pyx_tuple__234);
22115 __Pyx_GIVEREF(__pyx_tuple__234);
22116 __pyx_codeobj__235 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__234, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 894, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__235)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 894; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22125 __pyx_tuple__236 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__236)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22126 __Pyx_GOTREF(__pyx_tuple__236);
22127 __Pyx_GIVEREF(__pyx_tuple__236);
22128 __pyx_codeobj__237 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__236, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 897, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__237)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22137 __pyx_tuple__238 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__238)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 900; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22138 __Pyx_GOTREF(__pyx_tuple__238);
22139 __Pyx_GIVEREF(__pyx_tuple__238);
22140 __pyx_codeobj__239 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__238, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 900, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__239)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 900; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22149 __pyx_tuple__240 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__240)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 903; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22150 __Pyx_GOTREF(__pyx_tuple__240);
22151 __Pyx_GIVEREF(__pyx_tuple__240);
22152 __pyx_codeobj__241 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__240, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 903, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__241)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 903; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22161 __pyx_tuple__242 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__242)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 906; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22162 __Pyx_GOTREF(__pyx_tuple__242);
22163 __Pyx_GIVEREF(__pyx_tuple__242);
22164 __pyx_codeobj__243 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__242, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 906, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__243)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 906; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22173 __pyx_tuple__244 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__244)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22174 __Pyx_GOTREF(__pyx_tuple__244);
22175 __Pyx_GIVEREF(__pyx_tuple__244);
22176 __pyx_codeobj__245 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__244, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 909, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__245)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22185 __pyx_tuple__246 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__246)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 914; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22186 __Pyx_GOTREF(__pyx_tuple__246);
22187 __Pyx_GIVEREF(__pyx_tuple__246);
22188 __pyx_codeobj__247 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__246, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 914, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__247)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 914; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22197 __pyx_tuple__248 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__248)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22198 __Pyx_GOTREF(__pyx_tuple__248);
22199 __Pyx_GIVEREF(__pyx_tuple__248);
22200 __pyx_codeobj__249 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__248, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 924, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__249)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22209 __pyx_tuple__250 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__250)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22210 __Pyx_GOTREF(__pyx_tuple__250);
22211 __Pyx_GIVEREF(__pyx_tuple__250);
22212 __pyx_codeobj__251 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__250, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 927, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__251)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22221 __pyx_tuple__252 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__252)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22222 __Pyx_GOTREF(__pyx_tuple__252);
22223 __Pyx_GIVEREF(__pyx_tuple__252);
22224 __pyx_codeobj__253 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__252, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 930, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__253)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22233 __pyx_tuple__254 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__254)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 933; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22234 __Pyx_GOTREF(__pyx_tuple__254);
22235 __Pyx_GIVEREF(__pyx_tuple__254);
22236 __pyx_codeobj__255 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__254, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 933, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__255)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 933; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22245 __pyx_tuple__256 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__256)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22246 __Pyx_GOTREF(__pyx_tuple__256);
22247 __Pyx_GIVEREF(__pyx_tuple__256);
22248 __pyx_codeobj__257 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__256, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 936, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__257)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22257 __pyx_tuple__258 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__258)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22258 __Pyx_GOTREF(__pyx_tuple__258);
22259 __Pyx_GIVEREF(__pyx_tuple__258);
22260 __pyx_codeobj__259 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__258, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 939, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__259)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22269 __pyx_tuple__260 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__260)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22270 __Pyx_GOTREF(__pyx_tuple__260);
22271 __Pyx_GIVEREF(__pyx_tuple__260);
22272 __pyx_codeobj__261 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__260, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 944, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__261)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22281 __pyx_tuple__262 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__262)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22282 __Pyx_GOTREF(__pyx_tuple__262);
22283 __Pyx_GIVEREF(__pyx_tuple__262);
22284 __pyx_codeobj__263 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__262, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 951, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__263)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22293 __pyx_tuple__264 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__264)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22294 __Pyx_GOTREF(__pyx_tuple__264);
22295 __Pyx_GIVEREF(__pyx_tuple__264);
22296 __pyx_codeobj__265 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__264, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 954, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__265)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22305 __pyx_tuple__266 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__266)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 957; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22306 __Pyx_GOTREF(__pyx_tuple__266);
22307 __Pyx_GIVEREF(__pyx_tuple__266);
22308 __pyx_codeobj__267 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__266, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 957, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__267)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 957; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22317 __pyx_tuple__268 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__268)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22318 __Pyx_GOTREF(__pyx_tuple__268);
22319 __Pyx_GIVEREF(__pyx_tuple__268);
22320 __pyx_codeobj__269 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__268, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 960, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__269)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22329 __pyx_tuple__270 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__270)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 963; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22330 __Pyx_GOTREF(__pyx_tuple__270);
22331 __Pyx_GIVEREF(__pyx_tuple__270);
22332 __pyx_codeobj__271 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__270, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 963, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__271)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 963; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22341 __pyx_tuple__272 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__272)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 966; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22342 __Pyx_GOTREF(__pyx_tuple__272);
22343 __Pyx_GIVEREF(__pyx_tuple__272);
22344 __pyx_codeobj__273 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__272, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 966, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__273)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 966; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22353 __pyx_tuple__274 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__274)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22354 __Pyx_GOTREF(__pyx_tuple__274);
22355 __Pyx_GIVEREF(__pyx_tuple__274);
22356 __pyx_codeobj__275 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__274, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 971, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__275)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22365 __pyx_tuple__276 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__276)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22366 __Pyx_GOTREF(__pyx_tuple__276);
22367 __Pyx_GIVEREF(__pyx_tuple__276);
22368 __pyx_codeobj__277 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__276, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 978, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__277)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22377 __pyx_tuple__278 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__278)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22378 __Pyx_GOTREF(__pyx_tuple__278);
22379 __Pyx_GIVEREF(__pyx_tuple__278);
22380 __pyx_codeobj__279 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__278, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 981, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__279)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22389 __pyx_tuple__280 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__280)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22390 __Pyx_GOTREF(__pyx_tuple__280);
22391 __Pyx_GIVEREF(__pyx_tuple__280);
22392 __pyx_codeobj__281 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__280, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 984, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__281)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22401 __pyx_tuple__282 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__282)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22402 __Pyx_GOTREF(__pyx_tuple__282);
22403 __Pyx_GIVEREF(__pyx_tuple__282);
22404 __pyx_codeobj__283 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__282, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 987, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__283)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22413 __pyx_tuple__284 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__284)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22414 __Pyx_GOTREF(__pyx_tuple__284);
22415 __Pyx_GIVEREF(__pyx_tuple__284);
22416 __pyx_codeobj__285 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__284, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 990, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__285)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22425 __pyx_tuple__286 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__286)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22426 __Pyx_GOTREF(__pyx_tuple__286);
22427 __Pyx_GIVEREF(__pyx_tuple__286);
22428 __pyx_codeobj__287 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__286, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 993, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__287)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22437 __pyx_tuple__288 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__288)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22438 __Pyx_GOTREF(__pyx_tuple__288);
22439 __Pyx_GIVEREF(__pyx_tuple__288);
22440 __pyx_codeobj__289 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__288, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 998, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__289)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22449 __pyx_tuple__290 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__290)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22450 __Pyx_GOTREF(__pyx_tuple__290);
22451 __Pyx_GIVEREF(__pyx_tuple__290);
22452 __pyx_codeobj__291 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__290, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 1005, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__291)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22461 __pyx_tuple__292 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__292)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22462 __Pyx_GOTREF(__pyx_tuple__292);
22463 __Pyx_GIVEREF(__pyx_tuple__292);
22464 __pyx_codeobj__293 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__292, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 1008, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__293)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22473 __pyx_tuple__294 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__294)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22474 __Pyx_GOTREF(__pyx_tuple__294);
22475 __Pyx_GIVEREF(__pyx_tuple__294);
22476 __pyx_codeobj__295 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__294, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 1011, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__295)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22485 __pyx_tuple__296 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__296)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1014; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22486 __Pyx_GOTREF(__pyx_tuple__296);
22487 __Pyx_GIVEREF(__pyx_tuple__296);
22488 __pyx_codeobj__297 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__296, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 1014, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__297)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1014; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22497 __pyx_tuple__298 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__298)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22498 __Pyx_GOTREF(__pyx_tuple__298);
22499 __Pyx_GIVEREF(__pyx_tuple__298);
22500 __pyx_codeobj__299 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__298, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 1017, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__299)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22509 __pyx_tuple__300 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__300)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1020; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22510 __Pyx_GOTREF(__pyx_tuple__300);
22511 __Pyx_GIVEREF(__pyx_tuple__300);
22512 __pyx_codeobj__301 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__300, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 1020, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__301)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1020; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22521 __pyx_tuple__302 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__302)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22522 __Pyx_GOTREF(__pyx_tuple__302);
22523 __Pyx_GIVEREF(__pyx_tuple__302);
22524 __pyx_codeobj__303 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__302, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 1025, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__303)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22533 __pyx_tuple__304 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__304)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1032; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22534 __Pyx_GOTREF(__pyx_tuple__304);
22535 __Pyx_GIVEREF(__pyx_tuple__304);
22536 __pyx_codeobj__305 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__304, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 1032, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__305)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1032; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22545 __pyx_tuple__306 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__306)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22546 __Pyx_GOTREF(__pyx_tuple__306);
22547 __Pyx_GIVEREF(__pyx_tuple__306);
22548 __pyx_codeobj__307 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__306, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 1035, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__307)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22557 __pyx_tuple__308 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__308)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22558 __Pyx_GOTREF(__pyx_tuple__308);
22559 __Pyx_GIVEREF(__pyx_tuple__308);
22560 __pyx_codeobj__309 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__308, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 1038, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__309)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22569 __pyx_tuple__310 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__310)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1041; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22570 __Pyx_GOTREF(__pyx_tuple__310);
22571 __Pyx_GIVEREF(__pyx_tuple__310);
22572 __pyx_codeobj__311 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__310, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 1041, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__311)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1041; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22581 __pyx_tuple__312 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__312)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22582 __Pyx_GOTREF(__pyx_tuple__312);
22583 __Pyx_GIVEREF(__pyx_tuple__312);
22584 __pyx_codeobj__313 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__312, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 1044, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__313)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22593 __pyx_tuple__314 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__314)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22594 __Pyx_GOTREF(__pyx_tuple__314);
22595 __Pyx_GIVEREF(__pyx_tuple__314);
22596 __pyx_codeobj__315 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__314, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 1047, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__315)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22605 __pyx_tuple__316 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__316)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22606 __Pyx_GOTREF(__pyx_tuple__316);
22607 __Pyx_GIVEREF(__pyx_tuple__316);
22608 __pyx_codeobj__317 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__316, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 1052, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__317)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22617 __pyx_tuple__318 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__318)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1059; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22618 __Pyx_GOTREF(__pyx_tuple__318);
22619 __Pyx_GIVEREF(__pyx_tuple__318);
22620 __pyx_codeobj__319 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__318, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeNumber, 1059, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__319)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1059; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22629 __pyx_tuple__320 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__320)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22630 __Pyx_GOTREF(__pyx_tuple__320);
22631 __Pyx_GIVEREF(__pyx_tuple__320);
22632 __pyx_codeobj__321 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__320, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_typeName, 1062, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__321)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22641 __pyx_tuple__322 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__322)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22642 __Pyx_GOTREF(__pyx_tuple__322);
22643 __Pyx_GIVEREF(__pyx_tuple__322);
22644 __pyx_codeobj__323 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__322, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_validKeys, 1065, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__323)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22653 __pyx_tuple__324 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__324)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22654 __Pyx_GOTREF(__pyx_tuple__324);
22655 __Pyx_GIVEREF(__pyx_tuple__324);
22656 __pyx_codeobj__325 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__324, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_requiredKeys, 1068, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__325)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22665 __pyx_tuple__326 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__326)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1071; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22666 __Pyx_GOTREF(__pyx_tuple__326);
22667 __Pyx_GIVEREF(__pyx_tuple__326);
22668 __pyx_codeobj__327 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__326, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setDefaultParams, 1071, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__327)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1071; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22677 __pyx_tuple__328 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__328)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1074; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22678 __Pyx_GOTREF(__pyx_tuple__328);
22679 __Pyx_GIVEREF(__pyx_tuple__328);
22680 __pyx_codeobj__329 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__328, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getParamsFromEsCore, 1074, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__329)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1074; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22689 __pyx_tuple__330 = PyTuple_Pack(1, __pyx_n_s_self);
if (unlikely(!__pyx_tuple__330)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22690 __Pyx_GOTREF(__pyx_tuple__330);
22691 __Pyx_GIVEREF(__pyx_tuple__330);
22692 __pyx_codeobj__331 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__330, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setParamsInEsCore, 1079, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__331)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22701 __pyx_tuple__332 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_key, __pyx_n_s_bondType, __pyx_n_s_bondClass);
if (unlikely(!__pyx_tuple__332)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22702 __Pyx_GOTREF(__pyx_tuple__332);
22703 __Pyx_GIVEREF(__pyx_tuple__332);
22704 __pyx_codeobj__333 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__332, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_getitem, 1101, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__333)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22713 __pyx_tuple__334 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_key, __pyx_n_s_value);
if (unlikely(!__pyx_tuple__334)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22714 __Pyx_GOTREF(__pyx_tuple__334);
22715 __Pyx_GIVEREF(__pyx_tuple__334);
22716 __pyx_codeobj__335 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__334, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_haozeke_Github_LabBom_espr, __pyx_n_s_setitem, 1123, __pyx_empty_bytes);
if (unlikely(!__pyx_codeobj__335)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22717 __Pyx_RefNannyFinishContext();
22720 __Pyx_RefNannyFinishContext();
22724 static int __Pyx_InitGlobals(
void) {
22725 if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
22726 __pyx_float_0_ = PyFloat_FromDouble(0.);
if (unlikely(!__pyx_float_0_)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22727 __pyx_float_1_ = PyFloat_FromDouble(1.);
if (unlikely(!__pyx_float_1_)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22728 __pyx_int_0 = PyInt_FromLong(0);
if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22729 __pyx_int_1 = PyInt_FromLong(1);
if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22730 __pyx_int_2 = PyInt_FromLong(2);
if (unlikely(!__pyx_int_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22731 __pyx_int_3 = PyInt_FromLong(3);
if (unlikely(!__pyx_int_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22732 __pyx_int_5 = PyInt_FromLong(5);
if (unlikely(!__pyx_int_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22733 __pyx_int_6 = PyInt_FromLong(6);
if (unlikely(!__pyx_int_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22734 __pyx_int_7 = PyInt_FromLong(7);
if (unlikely(!__pyx_int_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22735 __pyx_int_9 = PyInt_FromLong(9);
if (unlikely(!__pyx_int_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22736 __pyx_int_11 = PyInt_FromLong(11);
if (unlikely(!__pyx_int_11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22737 __pyx_int_12 = PyInt_FromLong(12);
if (unlikely(!__pyx_int_12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22738 __pyx_int_13 = PyInt_FromLong(13);
if (unlikely(!__pyx_int_13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22739 __pyx_int_14 = PyInt_FromLong(14);
if (unlikely(!__pyx_int_14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22740 __pyx_int_15 = PyInt_FromLong(15);
if (unlikely(!__pyx_int_15)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22741 __pyx_int_16 = PyInt_FromLong(16);
if (unlikely(!__pyx_int_16)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22742 __pyx_int_17 = PyInt_FromLong(17);
if (unlikely(!__pyx_int_17)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22743 __pyx_int_18 = PyInt_FromLong(18);
if (unlikely(!__pyx_int_18)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22744 __pyx_int_19 = PyInt_FromLong(19);
if (unlikely(!__pyx_int_19)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22745 __pyx_int_20 = PyInt_FromLong(20);
if (unlikely(!__pyx_int_20)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22746 __pyx_int_21 = PyInt_FromLong(21);
if (unlikely(!__pyx_int_21)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22747 __pyx_int_neg_1 = PyInt_FromLong(-1);
if (unlikely(!__pyx_int_neg_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22753 #if PY_MAJOR_VERSION < 3
22754 PyMODINIT_FUNC initinteractions(
void);
22755 PyMODINIT_FUNC initinteractions(
void)
22757 PyMODINIT_FUNC PyInit_interactions(
void);
22758 PyMODINIT_FUNC PyInit_interactions(
void)
22761 PyObject *__pyx_t_1 = NULL;
22762 PyObject *__pyx_t_2 = NULL;
22763 PyObject *__pyx_t_3 = NULL;
22764 PyObject *__pyx_t_4 = NULL;
22765 int __pyx_lineno = 0;
22766 const char *__pyx_filename = NULL;
22767 int __pyx_clineno = 0;
22768 __Pyx_RefNannyDeclarations
22769 #if CYTHON_REFNANNY
22770 __Pyx_RefNanny = __Pyx_RefNannyImportAPI(
"refnanny");
22771 if (!__Pyx_RefNanny) {
22773 __Pyx_RefNanny = __Pyx_RefNannyImportAPI(
"Cython.Runtime.refnanny");
22774 if (!__Pyx_RefNanny)
22775 Py_FatalError(
"failed to import 'refnanny' module");
22778 __Pyx_RefNannySetupContext(
"PyMODINIT_FUNC PyInit_interactions(void)", 0);
22779 if ( __Pyx_check_binary_version() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22780 __pyx_empty_tuple = PyTuple_New(0);
if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22781 __pyx_empty_bytes = PyBytes_FromStringAndSize(
"", 0);
if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22782 #ifdef __Pyx_CyFunction_USED
22783 if (__Pyx_CyFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22785 #ifdef __Pyx_FusedFunction_USED
22786 if (__pyx_FusedFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22788 #ifdef __Pyx_Generator_USED
22789 if (__pyx_Generator_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22793 #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
22795 PyEval_InitThreads();
22799 #if PY_MAJOR_VERSION < 3
22800 __pyx_m = Py_InitModule4(
"interactions", __pyx_methods, 0, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
22802 __pyx_m = PyModule_Create(&__pyx_moduledef);
22804 if (unlikely(!__pyx_m)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22805 __pyx_d = PyModule_GetDict(__pyx_m);
if (unlikely(!__pyx_d)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22806 Py_INCREF(__pyx_d);
22807 __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME);
if (unlikely(!__pyx_b)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22808 #if CYTHON_COMPILING_IN_PYPY
22809 Py_INCREF(__pyx_b);
22811 if (PyObject_SetAttrString(__pyx_m,
"__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
22813 if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22814 #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
22815 if (__Pyx_init_sys_getdefaultencoding_params() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22817 if (__pyx_module_is_main_espressomd__interactions) {
22818 if (PyObject_SetAttrString(__pyx_m,
"__name__", __pyx_n_s_main) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;};
22820 #if PY_MAJOR_VERSION >= 3
22822 PyObject *modules = PyImport_GetModuleDict();
if (unlikely(!modules)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22823 if (!PyDict_GetItemString(modules,
"espressomd.interactions")) {
22824 if (unlikely(PyDict_SetItemString(modules,
"espressomd.interactions", __pyx_m) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22829 if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22831 if (unlikely(__Pyx_InitCachedConstants() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22836 if (PyType_Ready(&__pyx_type_10espressomd_12interactions_NonBondedInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 22; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22837 __pyx_type_10espressomd_12interactions_NonBondedInteraction.tp_print = 0;
22838 #if CYTHON_COMPILING_IN_CPYTHON
22840 PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_10espressomd_12interactions_NonBondedInteraction,
"__init__");
if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 22; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22841 if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
22842 __pyx_wrapperbase_10espressomd_12interactions_20NonBondedInteraction___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
22843 __pyx_wrapperbase_10espressomd_12interactions_20NonBondedInteraction___init__.doc = __pyx_doc_10espressomd_12interactions_20NonBondedInteraction___init__;
22844 ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10espressomd_12interactions_20NonBondedInteraction___init__;
22848 if (PyObject_SetAttrString(__pyx_m,
"NonBondedInteraction", (PyObject *)&__pyx_type_10espressomd_12interactions_NonBondedInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 22; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22849 __pyx_ptype_10espressomd_12interactions_NonBondedInteraction = &__pyx_type_10espressomd_12interactions_NonBondedInteraction;
22850 __pyx_type_10espressomd_12interactions_LennardJonesInteraction.tp_base = __pyx_ptype_10espressomd_12interactions_NonBondedInteraction;
22851 if (PyType_Ready(&__pyx_type_10espressomd_12interactions_LennardJonesInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22852 __pyx_type_10espressomd_12interactions_LennardJonesInteraction.tp_print = 0;
22853 if (PyObject_SetAttrString(__pyx_m,
"LennardJonesInteraction", (PyObject *)&__pyx_type_10espressomd_12interactions_LennardJonesInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 147; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22854 __pyx_ptype_10espressomd_12interactions_LennardJonesInteraction = &__pyx_type_10espressomd_12interactions_LennardJonesInteraction;
22855 __pyx_type_10espressomd_12interactions_GenericLennardJonesInteraction.tp_base = __pyx_ptype_10espressomd_12interactions_NonBondedInteraction;
22856 if (PyType_Ready(&__pyx_type_10espressomd_12interactions_GenericLennardJonesInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 209; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22857 __pyx_type_10espressomd_12interactions_GenericLennardJonesInteraction.tp_print = 0;
22858 if (PyObject_SetAttrString(__pyx_m,
"GenericLennardJonesInteraction", (PyObject *)&__pyx_type_10espressomd_12interactions_GenericLennardJonesInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 209; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22859 __pyx_ptype_10espressomd_12interactions_GenericLennardJonesInteraction = &__pyx_type_10espressomd_12interactions_GenericLennardJonesInteraction;
22860 if (PyType_Ready(&__pyx_type_10espressomd_12interactions_NonBondedInteractions) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22861 __pyx_type_10espressomd_12interactions_NonBondedInteractions.tp_print = 0;
22862 if (PyObject_SetAttrString(__pyx_m,
"NonBondedInteractions", (PyObject *)&__pyx_type_10espressomd_12interactions_NonBondedInteractions) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22863 __pyx_ptype_10espressomd_12interactions_NonBondedInteractions = &__pyx_type_10espressomd_12interactions_NonBondedInteractions;
22864 if (PyType_Ready(&__pyx_type_10espressomd_12interactions_BondedInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22865 __pyx_type_10espressomd_12interactions_BondedInteraction.tp_print = 0;
22866 #if CYTHON_COMPILING_IN_CPYTHON
22868 PyObject *wrapper = PyObject_GetAttrString((PyObject *)&__pyx_type_10espressomd_12interactions_BondedInteraction,
"__init__");
if (unlikely(!wrapper)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22869 if (Py_TYPE(wrapper) == &PyWrapperDescr_Type) {
22870 __pyx_wrapperbase_10espressomd_12interactions_17BondedInteraction___init__ = *((PyWrapperDescrObject *)wrapper)->d_base;
22871 __pyx_wrapperbase_10espressomd_12interactions_17BondedInteraction___init__.doc = __pyx_doc_10espressomd_12interactions_17BondedInteraction___init__;
22872 ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_10espressomd_12interactions_17BondedInteraction___init__;
22876 if (PyObject_SetAttrString(__pyx_m,
"BondedInteraction", (PyObject *)&__pyx_type_10espressomd_12interactions_BondedInteraction) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 347; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22877 __pyx_ptype_10espressomd_12interactions_BondedInteraction = &__pyx_type_10espressomd_12interactions_BondedInteraction;
22879 __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME,
"type",
22880 #
if CYTHON_COMPILING_IN_PYPY
22881 sizeof(PyTypeObject),
22883 sizeof(PyHeapTypeObject),
22885 0);
if (unlikely(!__pyx_ptype_7cpython_4type_type)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 9; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22886 __pyx_ptype_5numpy_dtype = __Pyx_ImportType(
"numpy",
"dtype",
sizeof(PyArray_Descr), 0);
if (unlikely(!__pyx_ptype_5numpy_dtype)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 155; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22887 __pyx_ptype_5numpy_flatiter = __Pyx_ImportType(
"numpy",
"flatiter",
sizeof(PyArrayIterObject), 0);
if (unlikely(!__pyx_ptype_5numpy_flatiter)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 168; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22888 __pyx_ptype_5numpy_broadcast = __Pyx_ImportType(
"numpy",
"broadcast",
sizeof(PyArrayMultiIterObject), 0);
if (unlikely(!__pyx_ptype_5numpy_broadcast)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 172; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22889 __pyx_ptype_5numpy_ndarray = __Pyx_ImportType(
"numpy",
"ndarray",
sizeof(PyArrayObject), 0);
if (unlikely(!__pyx_ptype_5numpy_ndarray)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 181; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22890 __pyx_ptype_5numpy_ufunc = __Pyx_ImportType(
"numpy",
"ufunc",
sizeof(PyUFuncObject), 0);
if (unlikely(!__pyx_ptype_5numpy_ufunc)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 864; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22902 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22903 __Pyx_GOTREF(__pyx_t_1);
22904 __Pyx_INCREF(__pyx_builtin_object);
22905 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_builtin_object);
22906 __Pyx_GIVEREF(__pyx_builtin_object);
22907 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22908 __Pyx_GOTREF(__pyx_t_2);
22909 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_NonBondedInteractionHandle, __pyx_n_s_NonBondedInteractionHandle, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, __pyx_kp_s_Provides_access_to_all_Non_bonde);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22910 __Pyx_GOTREF(__pyx_t_3);
22919 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_type1_2, __pyx_int_neg_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22928 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_type2_2, __pyx_int_neg_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22937 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_lennardJones, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 310; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22946 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_26NonBondedInteractionHandle_1__init__, 0, __pyx_n_s_NonBondedInteractionHandle___ini, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__77));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22947 __Pyx_GOTREF(__pyx_t_4);
22948 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_init, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22949 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
22958 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_NonBondedInteractionHandle, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22959 __Pyx_GOTREF(__pyx_t_4);
22960 if (PyDict_SetItem(__pyx_d, __pyx_n_s_NonBondedInteractionHandle, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22961 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
22962 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
22963 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
22964 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
22973 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22974 __Pyx_GOTREF(__pyx_t_1);
22975 __Pyx_INCREF(__pyx_builtin_object);
22976 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_builtin_object);
22977 __Pyx_GIVEREF(__pyx_builtin_object);
22978 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22979 __Pyx_GOTREF(__pyx_t_2);
22980 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_BondedInteractionNotDefined, __pyx_n_s_BondedInteractionNotDefined, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22981 __Pyx_GOTREF(__pyx_t_3);
22990 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_1__init__, 0, __pyx_n_s_BondedInteractionNotDefined___in, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__79));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22991 __Pyx_GOTREF(__pyx_t_4);
22992 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_init, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 450; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
22993 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23002 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_3typeNumber, 0, __pyx_n_s_BondedInteractionNotDefined_type, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__81));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23003 __Pyx_GOTREF(__pyx_t_4);
23004 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23005 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23014 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_5typeName, 0, __pyx_n_s_BondedInteractionNotDefined_type_2, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__83));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23015 __Pyx_GOTREF(__pyx_t_4);
23016 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23017 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23026 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_7validKeys, 0, __pyx_n_s_BondedInteractionNotDefined_vali, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__85));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23027 __Pyx_GOTREF(__pyx_t_4);
23028 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23029 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23038 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_9requiredKeys, 0, __pyx_n_s_BondedInteractionNotDefined_requ, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__87));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23039 __Pyx_GOTREF(__pyx_t_4);
23040 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23041 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23050 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_11setDefaultParams, 0, __pyx_n_s_BondedInteractionNotDefined_setD, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__89));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 466; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23051 __Pyx_GOTREF(__pyx_t_4);
23052 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 466; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23053 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23062 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_13_getParamsFromEsCore, 0, __pyx_n_s_BondedInteractionNotDefined__get, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__91));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 469; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23063 __Pyx_GOTREF(__pyx_t_4);
23064 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 469; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23065 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23074 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27BondedInteractionNotDefined_15_setParamsInEsCore, 0, __pyx_n_s_BondedInteractionNotDefined__set, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__93));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23075 __Pyx_GOTREF(__pyx_t_4);
23076 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 472; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23077 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23086 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_BondedInteractionNotDefined, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23087 __Pyx_GOTREF(__pyx_t_4);
23088 if (PyDict_SetItem(__pyx_d, __pyx_n_s_BondedInteractionNotDefined, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23089 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23090 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23091 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23092 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23101 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 476; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23102 __Pyx_GOTREF(__pyx_t_1);
23103 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23104 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23105 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23106 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 476; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23107 __Pyx_GOTREF(__pyx_t_2);
23108 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_FeneBond, __pyx_n_s_FeneBond, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 476; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23109 __Pyx_GOTREF(__pyx_t_3);
23118 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_1typeNumber, 0, __pyx_n_s_FeneBond_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__95));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23119 __Pyx_GOTREF(__pyx_t_4);
23120 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23121 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23130 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_3typeName, 0, __pyx_n_s_FeneBond_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__97));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 481; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23131 __Pyx_GOTREF(__pyx_t_4);
23132 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 481; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23133 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23142 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_5validKeys, 0, __pyx_n_s_FeneBond_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__99));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 484; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23143 __Pyx_GOTREF(__pyx_t_4);
23144 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 484; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23145 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23154 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_7requiredKeys, 0, __pyx_n_s_FeneBond_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__101));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23155 __Pyx_GOTREF(__pyx_t_4);
23156 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 487; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23157 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23166 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_9setDefaultParams, 0, __pyx_n_s_FeneBond_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__103));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23167 __Pyx_GOTREF(__pyx_t_4);
23168 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 490; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23169 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23178 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_11_getParamsFromEsCore, 0, __pyx_n_s_FeneBond__getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__105));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 494; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23179 __Pyx_GOTREF(__pyx_t_4);
23180 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 494; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23181 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23190 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8FeneBond_13_setParamsInEsCore, 0, __pyx_n_s_FeneBond__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__107));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23191 __Pyx_GOTREF(__pyx_t_4);
23192 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23193 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23202 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_FeneBond, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 476; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23203 __Pyx_GOTREF(__pyx_t_4);
23204 if (PyDict_SetItem(__pyx_d, __pyx_n_s_FeneBond, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 476; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23205 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23206 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23207 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23208 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23217 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23218 __Pyx_GOTREF(__pyx_t_1);
23219 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23220 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23221 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23222 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23223 __Pyx_GOTREF(__pyx_t_2);
23224 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_HarmonicBond, __pyx_n_s_HarmonicBond, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23225 __Pyx_GOTREF(__pyx_t_3);
23234 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_1typeNumber, 0, __pyx_n_s_HarmonicBond_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__109));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23235 __Pyx_GOTREF(__pyx_t_4);
23236 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 507; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23237 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23246 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_3typeName, 0, __pyx_n_s_HarmonicBond_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__111));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 510; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23247 __Pyx_GOTREF(__pyx_t_4);
23248 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 510; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23249 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23258 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_5validKeys, 0, __pyx_n_s_HarmonicBond_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__113));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23259 __Pyx_GOTREF(__pyx_t_4);
23260 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 513; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23261 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23270 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_7requiredKeys, 0, __pyx_n_s_HarmonicBond_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__115));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23271 __Pyx_GOTREF(__pyx_t_4);
23272 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 516; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23273 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23282 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_9setDefaultParams, 0, __pyx_n_s_HarmonicBond_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__117));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23283 __Pyx_GOTREF(__pyx_t_4);
23284 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 519; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23285 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23294 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_11_getParamsFromEsCore, 0, __pyx_n_s_HarmonicBond__getParamsFromEsCor, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__119));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23295 __Pyx_GOTREF(__pyx_t_4);
23296 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 522; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23297 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23306 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12HarmonicBond_13_setParamsInEsCore, 0, __pyx_n_s_HarmonicBond__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__121));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23307 __Pyx_GOTREF(__pyx_t_4);
23308 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 528; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23309 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23318 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_HarmonicBond, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23319 __Pyx_GOTREF(__pyx_t_4);
23320 if (PyDict_SetItem(__pyx_d, __pyx_n_s_HarmonicBond, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 505; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23321 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23322 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23323 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23324 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23333 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23334 __Pyx_GOTREF(__pyx_t_1);
23335 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23336 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23337 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23338 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23339 __Pyx_GOTREF(__pyx_t_2);
23340 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_HarmonicDumbbellBond, __pyx_n_s_HarmonicDumbbellBond, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23341 __Pyx_GOTREF(__pyx_t_3);
23350 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_1typeNumber, 0, __pyx_n_s_HarmonicDumbbellBond_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__123));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23351 __Pyx_GOTREF(__pyx_t_4);
23352 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 536; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23353 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23362 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_3typeName, 0, __pyx_n_s_HarmonicDumbbellBond_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__125));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 539; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23363 __Pyx_GOTREF(__pyx_t_4);
23364 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 539; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23365 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23374 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_5validKeys, 0, __pyx_n_s_HarmonicDumbbellBond_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__127));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23375 __Pyx_GOTREF(__pyx_t_4);
23376 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 542; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23377 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23386 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_7requiredKeys, 0, __pyx_n_s_HarmonicDumbbellBond_requiredKey, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__129));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23387 __Pyx_GOTREF(__pyx_t_4);
23388 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 545; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23389 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23398 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_9setDefaultParams, 0, __pyx_n_s_HarmonicDumbbellBond_setDefaultP, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__131));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23399 __Pyx_GOTREF(__pyx_t_4);
23400 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 548; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23401 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23410 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_11_getParamsFromEsCore, 0, __pyx_n_s_HarmonicDumbbellBond__getParamsF, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__133));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23411 __Pyx_GOTREF(__pyx_t_4);
23412 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23413 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23422 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_20HarmonicDumbbellBond_13_setParamsInEsCore, 0, __pyx_n_s_HarmonicDumbbellBond__setParamsI, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__135));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 558; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23423 __Pyx_GOTREF(__pyx_t_4);
23424 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 558; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23425 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23434 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_HarmonicDumbbellBond, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23435 __Pyx_GOTREF(__pyx_t_4);
23436 if (PyDict_SetItem(__pyx_d, __pyx_n_s_HarmonicDumbbellBond, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 534; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23437 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23438 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23439 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23440 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23449 __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_BondedInteractionNotDefined);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23450 __Pyx_GOTREF(__pyx_t_1);
23451 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23452 __Pyx_GOTREF(__pyx_t_2);
23453 PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
23454 __Pyx_GIVEREF(__pyx_t_1);
23456 __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23457 __Pyx_GOTREF(__pyx_t_1);
23458 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_RigidBond, __pyx_n_s_RigidBond, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23459 __Pyx_GOTREF(__pyx_t_3);
23468 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_name_2, __pyx_n_s_RIGID) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 624; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23477 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_RigidBond, __pyx_t_2, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23478 __Pyx_GOTREF(__pyx_t_4);
23479 if (PyDict_SetItem(__pyx_d, __pyx_n_s_RigidBond, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 623; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23480 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23481 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23482 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23483 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23492 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23493 __Pyx_GOTREF(__pyx_t_2);
23494 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23495 PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23496 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23497 __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23498 __Pyx_GOTREF(__pyx_t_1);
23499 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_Dihedral, __pyx_n_s_Dihedral, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23500 __Pyx_GOTREF(__pyx_t_3);
23509 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_1typeNumber, 0, __pyx_n_s_Dihedral_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__137));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 629; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23510 __Pyx_GOTREF(__pyx_t_4);
23511 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 629; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23512 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23521 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_3typeName, 0, __pyx_n_s_Dihedral_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__139));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 632; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23522 __Pyx_GOTREF(__pyx_t_4);
23523 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 632; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23524 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23533 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_5validKeys, 0, __pyx_n_s_Dihedral_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__141));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23534 __Pyx_GOTREF(__pyx_t_4);
23535 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23536 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23545 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_7requiredKeys, 0, __pyx_n_s_Dihedral_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__143));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 638; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23546 __Pyx_GOTREF(__pyx_t_4);
23547 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 638; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23548 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23557 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_9setDefaultParams, 0, __pyx_n_s_Dihedral_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__145));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23558 __Pyx_GOTREF(__pyx_t_4);
23559 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 641; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23560 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23569 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_11_getParamsFromEsCore, 0, __pyx_n_s_Dihedral__getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__147));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 644; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23570 __Pyx_GOTREF(__pyx_t_4);
23571 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 644; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23572 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23581 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_8Dihedral_13_setParamsInEsCore, 0, __pyx_n_s_Dihedral__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__149));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 650; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23582 __Pyx_GOTREF(__pyx_t_4);
23583 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 650; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23584 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23593 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_Dihedral, __pyx_t_2, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23594 __Pyx_GOTREF(__pyx_t_4);
23595 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Dihedral, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 627; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23596 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23597 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23598 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23599 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23608 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23609 __Pyx_GOTREF(__pyx_t_2);
23610 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23611 PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23612 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23613 __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23614 __Pyx_GOTREF(__pyx_t_1);
23615 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_Tabulated, __pyx_n_s_Tabulated, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23616 __Pyx_GOTREF(__pyx_t_3);
23625 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_1typeNumber, 0, __pyx_n_s_Tabulated_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__151));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23626 __Pyx_GOTREF(__pyx_t_4);
23627 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 658; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23628 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23637 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_3typeName, 0, __pyx_n_s_Tabulated_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__153));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 661; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23638 __Pyx_GOTREF(__pyx_t_4);
23639 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 661; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23640 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23649 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_5validKeys, 0, __pyx_n_s_Tabulated_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__155));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23650 __Pyx_GOTREF(__pyx_t_4);
23651 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 664; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23652 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23661 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_7requiredKeys, 0, __pyx_n_s_Tabulated_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__157));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23662 __Pyx_GOTREF(__pyx_t_4);
23663 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 667; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23664 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23673 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_9setDefaultParams, 0, __pyx_n_s_Tabulated_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__159));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 670; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23674 __Pyx_GOTREF(__pyx_t_4);
23675 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 670; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23676 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23685 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_11_getParamsFromEsCore, 0, __pyx_n_s_Tabulated__getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__161));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23686 __Pyx_GOTREF(__pyx_t_4);
23687 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 674; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23688 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23697 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9Tabulated_13_setParamsInEsCore, 0, __pyx_n_s_Tabulated__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__163));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23698 __Pyx_GOTREF(__pyx_t_4);
23699 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 683; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23700 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23709 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_Tabulated, __pyx_t_2, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23710 __Pyx_GOTREF(__pyx_t_4);
23711 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Tabulated, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 656; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23712 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23713 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23714 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23715 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23724 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 713; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23725 __Pyx_GOTREF(__pyx_t_2);
23726 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23727 PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23728 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23729 __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 713; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23730 __Pyx_GOTREF(__pyx_t_1);
23731 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_Subt_Lj, __pyx_n_s_Subt_Lj, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 713; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23732 __Pyx_GOTREF(__pyx_t_3);
23741 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_1typeNumber, 0, __pyx_n_s_Subt_Lj_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__165));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23742 __Pyx_GOTREF(__pyx_t_4);
23743 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23744 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23753 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_3typeName, 0, __pyx_n_s_Subt_Lj_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__167));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23754 __Pyx_GOTREF(__pyx_t_4);
23755 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 718; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23756 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23765 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_5validKeys, 0, __pyx_n_s_Subt_Lj_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__169));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23766 __Pyx_GOTREF(__pyx_t_4);
23767 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 721; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23768 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23777 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_7requiredKeys, 0, __pyx_n_s_Subt_Lj_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__171));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 724; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23778 __Pyx_GOTREF(__pyx_t_4);
23779 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 724; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23780 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23789 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_9setDefaultParams, 0, __pyx_n_s_Subt_Lj_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__173));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23790 __Pyx_GOTREF(__pyx_t_4);
23791 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 727; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23792 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23801 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_11_getParamsFromEsCore, 0, __pyx_n_s_Subt_Lj__getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__175));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 730; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23802 __Pyx_GOTREF(__pyx_t_4);
23803 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 730; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23804 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23813 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Subt_Lj_13_setParamsInEsCore, 0, __pyx_n_s_Subt_Lj__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__177));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23814 __Pyx_GOTREF(__pyx_t_4);
23815 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 735; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23816 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23825 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_Subt_Lj, __pyx_t_2, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 713; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23826 __Pyx_GOTREF(__pyx_t_4);
23827 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Subt_Lj, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 713; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23828 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23829 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23830 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23831 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23840 __pyx_t_2 = PyTuple_New(1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23841 __Pyx_GOTREF(__pyx_t_2);
23842 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23843 PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23844 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
23845 __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23846 __Pyx_GOTREF(__pyx_t_1);
23847 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_Virtual, __pyx_n_s_Virtual, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23848 __Pyx_GOTREF(__pyx_t_3);
23857 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_1typeNumber, 0, __pyx_n_s_Virtual_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__179));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23858 __Pyx_GOTREF(__pyx_t_4);
23859 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 742; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23860 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23869 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_3typeName, 0, __pyx_n_s_Virtual_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__181));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 745; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23870 __Pyx_GOTREF(__pyx_t_4);
23871 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 745; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23872 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23881 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_5validKeys, 0, __pyx_n_s_Virtual_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__183));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 748; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23882 __Pyx_GOTREF(__pyx_t_4);
23883 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 748; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23884 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23893 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_7requiredKeys, 0, __pyx_n_s_Virtual_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__185));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23894 __Pyx_GOTREF(__pyx_t_4);
23895 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23896 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23905 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_9setDefaultParams, 0, __pyx_n_s_Virtual_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__187));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 754; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23906 __Pyx_GOTREF(__pyx_t_4);
23907 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 754; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23908 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23917 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_11_getParamsFromEsCore, 0, __pyx_n_s_Virtual__getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__189));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23918 __Pyx_GOTREF(__pyx_t_4);
23919 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 757; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23920 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23929 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7Virtual_13_setParamsInEsCore, 0, __pyx_n_s_Virtual__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__191));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 760; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23930 __Pyx_GOTREF(__pyx_t_4);
23931 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 760; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23932 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23941 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_Virtual, __pyx_t_2, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23942 __Pyx_GOTREF(__pyx_t_4);
23943 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Virtual, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 740; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23944 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23945 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23946 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23947 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23956 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_BondedInteractionNotDefined);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23957 __Pyx_GOTREF(__pyx_t_2);
23958 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23959 __Pyx_GOTREF(__pyx_t_1);
23960 PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
23961 __Pyx_GIVEREF(__pyx_t_2);
23963 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23964 __Pyx_GOTREF(__pyx_t_2);
23965 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Endangledist, __pyx_n_s_Endangledist, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23966 __Pyx_GOTREF(__pyx_t_3);
23975 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_name_2, __pyx_n_s_BOND_ENDANGLEDIST) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 798; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23984 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Endangledist, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23985 __Pyx_GOTREF(__pyx_t_4);
23986 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Endangledist, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 797; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
23987 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
23988 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
23989 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
23990 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
23999 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24000 __Pyx_GOTREF(__pyx_t_1);
24001 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24002 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24003 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24004 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24005 __Pyx_GOTREF(__pyx_t_2);
24006 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Overlapped, __pyx_n_s_Overlapped, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24007 __Pyx_GOTREF(__pyx_t_3);
24016 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_1typeNumber, 0, __pyx_n_s_Overlapped_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__193));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 803; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24017 __Pyx_GOTREF(__pyx_t_4);
24018 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 803; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24019 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24028 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_3typeName, 0, __pyx_n_s_Overlapped_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__195));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24029 __Pyx_GOTREF(__pyx_t_4);
24030 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 806; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24031 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24040 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_5validKeys, 0, __pyx_n_s_Overlapped_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__197));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 809; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24041 __Pyx_GOTREF(__pyx_t_4);
24042 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 809; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24043 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24052 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_7requiredKeys, 0, __pyx_n_s_Overlapped_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__199));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24053 __Pyx_GOTREF(__pyx_t_4);
24054 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 812; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24055 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24064 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_9setDefaultParams, 0, __pyx_n_s_Overlapped_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__201));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24065 __Pyx_GOTREF(__pyx_t_4);
24066 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 815; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24067 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24076 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_11_getParamsFromEsCore, 0, __pyx_n_s_Overlapped__getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__203));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24077 __Pyx_GOTREF(__pyx_t_4);
24078 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 818; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24079 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24088 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_10Overlapped_13_setParamsInEsCore, 0, __pyx_n_s_Overlapped__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__205));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24089 __Pyx_GOTREF(__pyx_t_4);
24090 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 823; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24091 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24100 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Overlapped, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24101 __Pyx_GOTREF(__pyx_t_4);
24102 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Overlapped, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 801; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24103 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24104 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24105 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24106 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24115 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24116 __Pyx_GOTREF(__pyx_t_1);
24117 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24118 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24119 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24120 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24121 __Pyx_GOTREF(__pyx_t_2);
24122 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Angle_Harmonic, __pyx_n_s_Angle_Harmonic, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24123 __Pyx_GOTREF(__pyx_t_3);
24132 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_14Angle_Harmonic_1typeNumber, 0, __pyx_n_s_Angle_Harmonic_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__207));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24133 __Pyx_GOTREF(__pyx_t_4);
24134 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 834; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24135 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24144 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Angle_Harmonic, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24145 __Pyx_GOTREF(__pyx_t_4);
24146 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Angle_Harmonic, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 832; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24147 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24148 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24149 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24150 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24159 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_1typeName, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24160 __Pyx_GOTREF(__pyx_t_1);
24161 if (PyDict_SetItem(__pyx_d, __pyx_n_s_typeName, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 837; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24162 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24171 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_3validKeys, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24172 __Pyx_GOTREF(__pyx_t_1);
24173 if (PyDict_SetItem(__pyx_d, __pyx_n_s_validKeys, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24174 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24183 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_5requiredKeys, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24184 __Pyx_GOTREF(__pyx_t_1);
24185 if (PyDict_SetItem(__pyx_d, __pyx_n_s_requiredKeys, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 843; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24186 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24195 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_7setDefaultParams, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 846; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24196 __Pyx_GOTREF(__pyx_t_1);
24197 if (PyDict_SetItem(__pyx_d, __pyx_n_s_setDefaultParams, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 846; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24198 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24207 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_9_getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 849; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24208 __Pyx_GOTREF(__pyx_t_1);
24209 if (PyDict_SetItem(__pyx_d, __pyx_n_s_getParamsFromEsCore, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 849; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24210 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24219 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_11_setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24220 __Pyx_GOTREF(__pyx_t_1);
24221 if (PyDict_SetItem(__pyx_d, __pyx_n_s_setParamsInEsCore, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24222 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24231 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 862; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24232 __Pyx_GOTREF(__pyx_t_1);
24233 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24234 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24235 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24236 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 862; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24237 __Pyx_GOTREF(__pyx_t_2);
24238 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Angle_Cosine, __pyx_n_s_Angle_Cosine, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 862; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24239 __Pyx_GOTREF(__pyx_t_3);
24248 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Angle_Cosine_1typeNumber, 0, __pyx_n_s_Angle_Cosine_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__221));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24249 __Pyx_GOTREF(__pyx_t_4);
24250 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 864; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24251 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24260 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Angle_Cosine, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 862; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24261 __Pyx_GOTREF(__pyx_t_4);
24262 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Angle_Cosine, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 862; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24263 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24264 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24265 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24266 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24275 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13typeName, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 867; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24276 __Pyx_GOTREF(__pyx_t_1);
24277 if (PyDict_SetItem(__pyx_d, __pyx_n_s_typeName, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 867; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24278 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24287 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_15validKeys, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 870; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24288 __Pyx_GOTREF(__pyx_t_1);
24289 if (PyDict_SetItem(__pyx_d, __pyx_n_s_validKeys, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 870; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24290 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24299 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17requiredKeys, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 873; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24300 __Pyx_GOTREF(__pyx_t_1);
24301 if (PyDict_SetItem(__pyx_d, __pyx_n_s_requiredKeys, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 873; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24302 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24311 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_19setDefaultParams, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24312 __Pyx_GOTREF(__pyx_t_1);
24313 if (PyDict_SetItem(__pyx_d, __pyx_n_s_setDefaultParams, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 876; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24314 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24323 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_21_getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 879; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24324 __Pyx_GOTREF(__pyx_t_1);
24325 if (PyDict_SetItem(__pyx_d, __pyx_n_s_getParamsFromEsCore, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 879; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24326 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24335 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_23_setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24336 __Pyx_GOTREF(__pyx_t_1);
24337 if (PyDict_SetItem(__pyx_d, __pyx_n_s_setParamsInEsCore, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24338 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24347 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24348 __Pyx_GOTREF(__pyx_t_1);
24349 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24350 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24351 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24352 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24353 __Pyx_GOTREF(__pyx_t_2);
24354 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Angle_Cossquare, __pyx_n_s_Angle_Cossquare, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24355 __Pyx_GOTREF(__pyx_t_3);
24364 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_15Angle_Cossquare_1typeNumber, 0, __pyx_n_s_Angle_Cossquare_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__235));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 894; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24365 __Pyx_GOTREF(__pyx_t_4);
24366 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 894; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24367 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24376 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Angle_Cossquare, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24377 __Pyx_GOTREF(__pyx_t_4);
24378 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Angle_Cossquare, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 892; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24379 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24380 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24381 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24382 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24391 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_25typeName, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24392 __Pyx_GOTREF(__pyx_t_1);
24393 if (PyDict_SetItem(__pyx_d, __pyx_n_s_typeName, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 897; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24394 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24403 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_27validKeys, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 900; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24404 __Pyx_GOTREF(__pyx_t_1);
24405 if (PyDict_SetItem(__pyx_d, __pyx_n_s_validKeys, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 900; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24406 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24415 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_29requiredKeys, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 903; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24416 __Pyx_GOTREF(__pyx_t_1);
24417 if (PyDict_SetItem(__pyx_d, __pyx_n_s_requiredKeys, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 903; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24418 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24427 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_31setDefaultParams, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 906; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24428 __Pyx_GOTREF(__pyx_t_1);
24429 if (PyDict_SetItem(__pyx_d, __pyx_n_s_setDefaultParams, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 906; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24430 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24439 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_33_getParamsFromEsCore, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24440 __Pyx_GOTREF(__pyx_t_1);
24441 if (PyDict_SetItem(__pyx_d, __pyx_n_s_getParamsFromEsCore, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24442 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24451 __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_35_setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 914; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24452 __Pyx_GOTREF(__pyx_t_1);
24453 if (PyDict_SetItem(__pyx_d, __pyx_n_s_setParamsInEsCore, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 914; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24454 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24463 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24464 __Pyx_GOTREF(__pyx_t_1);
24465 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24466 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24467 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24468 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24469 __Pyx_GOTREF(__pyx_t_2);
24470 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Stretching_Force, __pyx_n_s_Stretching_Force, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24471 __Pyx_GOTREF(__pyx_t_3);
24480 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_1typeNumber, 0, __pyx_n_s_Stretching_Force_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__249));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24481 __Pyx_GOTREF(__pyx_t_4);
24482 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 924; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24483 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24492 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_3typeName, 0, __pyx_n_s_Stretching_Force_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__251));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24493 __Pyx_GOTREF(__pyx_t_4);
24494 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 927; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24495 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24504 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_5validKeys, 0, __pyx_n_s_Stretching_Force_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__253));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24505 __Pyx_GOTREF(__pyx_t_4);
24506 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 930; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24507 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24516 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_7requiredKeys, 0, __pyx_n_s_Stretching_Force_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__255));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 933; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24517 __Pyx_GOTREF(__pyx_t_4);
24518 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 933; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24519 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24528 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_9setDefaultParams, 0, __pyx_n_s_Stretching_Force_setDefaultParam, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__257));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24529 __Pyx_GOTREF(__pyx_t_4);
24530 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24531 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24540 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_11_getParamsFromEsCore, 0, __pyx_n_s_Stretching_Force__getParamsFromE, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__259));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24541 __Pyx_GOTREF(__pyx_t_4);
24542 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 939; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24543 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24552 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretching_Force_13_setParamsInEsCore, 0, __pyx_n_s_Stretching_Force__setParamsInEsC, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__261));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24553 __Pyx_GOTREF(__pyx_t_4);
24554 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 944; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24555 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24564 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Stretching_Force, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24565 __Pyx_GOTREF(__pyx_t_4);
24566 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Stretching_Force, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 922; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24567 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24568 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24569 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24570 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24579 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24580 __Pyx_GOTREF(__pyx_t_1);
24581 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24582 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24583 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24584 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24585 __Pyx_GOTREF(__pyx_t_2);
24586 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Area_Force_Local, __pyx_n_s_Area_Force_Local, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24587 __Pyx_GOTREF(__pyx_t_3);
24596 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_1typeNumber, 0, __pyx_n_s_Area_Force_Local_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__263));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24597 __Pyx_GOTREF(__pyx_t_4);
24598 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24599 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24608 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_3typeName, 0, __pyx_n_s_Area_Force_Local_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__265));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24609 __Pyx_GOTREF(__pyx_t_4);
24610 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24611 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24620 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_5validKeys, 0, __pyx_n_s_Area_Force_Local_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__267));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 957; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24621 __Pyx_GOTREF(__pyx_t_4);
24622 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 957; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24623 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24632 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_7requiredKeys, 0, __pyx_n_s_Area_Force_Local_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__269));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24633 __Pyx_GOTREF(__pyx_t_4);
24634 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 960; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24635 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24644 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_9setDefaultParams, 0, __pyx_n_s_Area_Force_Local_setDefaultParam, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__271));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 963; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24645 __Pyx_GOTREF(__pyx_t_4);
24646 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 963; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24647 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24656 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_11_getParamsFromEsCore, 0, __pyx_n_s_Area_Force_Local__getParamsFromE, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__273));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 966; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24657 __Pyx_GOTREF(__pyx_t_4);
24658 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 966; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24659 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24668 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Area_Force_Local_13_setParamsInEsCore, 0, __pyx_n_s_Area_Force_Local__setParamsInEsC, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__275));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24669 __Pyx_GOTREF(__pyx_t_4);
24670 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 971; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24671 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24680 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Area_Force_Local, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24681 __Pyx_GOTREF(__pyx_t_4);
24682 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Area_Force_Local, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24683 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24684 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24685 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24686 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24695 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24696 __Pyx_GOTREF(__pyx_t_1);
24697 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24698 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24699 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24700 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24701 __Pyx_GOTREF(__pyx_t_2);
24702 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Bending_Force, __pyx_n_s_Bending_Force, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24703 __Pyx_GOTREF(__pyx_t_3);
24712 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_1typeNumber, 0, __pyx_n_s_Bending_Force_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__277));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24713 __Pyx_GOTREF(__pyx_t_4);
24714 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 978; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24715 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24724 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_3typeName, 0, __pyx_n_s_Bending_Force_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__279));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24725 __Pyx_GOTREF(__pyx_t_4);
24726 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 981; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24727 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24736 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_5validKeys, 0, __pyx_n_s_Bending_Force_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__281));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24737 __Pyx_GOTREF(__pyx_t_4);
24738 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 984; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24739 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24748 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_7requiredKeys, 0, __pyx_n_s_Bending_Force_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__283));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24749 __Pyx_GOTREF(__pyx_t_4);
24750 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 987; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24751 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24760 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_9setDefaultParams, 0, __pyx_n_s_Bending_Force_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__285));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24761 __Pyx_GOTREF(__pyx_t_4);
24762 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 990; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24763 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24772 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_11_getParamsFromEsCore, 0, __pyx_n_s_Bending_Force__getParamsFromEsCo, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__287));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24773 __Pyx_GOTREF(__pyx_t_4);
24774 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 993; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24775 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24784 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_13Bending_Force_13_setParamsInEsCore, 0, __pyx_n_s_Bending_Force__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__289));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24785 __Pyx_GOTREF(__pyx_t_4);
24786 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 998; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24787 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24796 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Bending_Force, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24797 __Pyx_GOTREF(__pyx_t_4);
24798 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Bending_Force, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 976; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24799 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24800 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24801 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24802 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24811 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1003; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24812 __Pyx_GOTREF(__pyx_t_1);
24813 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24814 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24815 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24816 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1003; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24817 __Pyx_GOTREF(__pyx_t_2);
24818 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Volume_Force, __pyx_n_s_Volume_Force, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1003; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24819 __Pyx_GOTREF(__pyx_t_3);
24828 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_1typeNumber, 0, __pyx_n_s_Volume_Force_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__291));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24829 __Pyx_GOTREF(__pyx_t_4);
24830 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1005; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24831 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24840 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_3typeName, 0, __pyx_n_s_Volume_Force_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__293));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24841 __Pyx_GOTREF(__pyx_t_4);
24842 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1008; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24843 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24852 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_5validKeys, 0, __pyx_n_s_Volume_Force_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__295));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24853 __Pyx_GOTREF(__pyx_t_4);
24854 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1011; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24855 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24864 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_7requiredKeys, 0, __pyx_n_s_Volume_Force_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__297));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1014; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24865 __Pyx_GOTREF(__pyx_t_4);
24866 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1014; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24867 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24876 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_9setDefaultParams, 0, __pyx_n_s_Volume_Force_setDefaultParams, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__299));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24877 __Pyx_GOTREF(__pyx_t_4);
24878 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1017; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24879 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24888 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_11_getParamsFromEsCore, 0, __pyx_n_s_Volume_Force__getParamsFromEsCor, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__301));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1020; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24889 __Pyx_GOTREF(__pyx_t_4);
24890 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1020; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24891 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24900 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_12Volume_Force_13_setParamsInEsCore, 0, __pyx_n_s_Volume_Force__setParamsInEsCore, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__303));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24901 __Pyx_GOTREF(__pyx_t_4);
24902 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1025; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24903 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24912 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Volume_Force, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1003; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24913 __Pyx_GOTREF(__pyx_t_4);
24914 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Volume_Force, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1003; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24915 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24916 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
24917 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
24918 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
24927 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24928 __Pyx_GOTREF(__pyx_t_1);
24929 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24930 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24931 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
24932 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24933 __Pyx_GOTREF(__pyx_t_2);
24934 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Area_Force_Global, __pyx_n_s_Area_Force_Global, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24935 __Pyx_GOTREF(__pyx_t_3);
24944 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_1typeNumber, 0, __pyx_n_s_Area_Force_Global_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__305));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1032; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24945 __Pyx_GOTREF(__pyx_t_4);
24946 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1032; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24947 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24956 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_3typeName, 0, __pyx_n_s_Area_Force_Global_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__307));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24957 __Pyx_GOTREF(__pyx_t_4);
24958 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1035; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24959 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24968 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_5validKeys, 0, __pyx_n_s_Area_Force_Global_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__309));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24969 __Pyx_GOTREF(__pyx_t_4);
24970 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1038; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24971 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24980 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_7requiredKeys, 0, __pyx_n_s_Area_Force_Global_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__311));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1041; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24981 __Pyx_GOTREF(__pyx_t_4);
24982 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1041; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24983 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
24992 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_9setDefaultParams, 0, __pyx_n_s_Area_Force_Global_setDefaultPara, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__313));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24993 __Pyx_GOTREF(__pyx_t_4);
24994 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1044; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
24995 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25004 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_11_getParamsFromEsCore, 0, __pyx_n_s_Area_Force_Global__getParamsFrom, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__315));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25005 __Pyx_GOTREF(__pyx_t_4);
25006 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1047; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25007 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25016 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_17Area_Force_Global_13_setParamsInEsCore, 0, __pyx_n_s_Area_Force_Global__setParamsInEs, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__317));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25017 __Pyx_GOTREF(__pyx_t_4);
25018 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1052; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25019 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25028 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Area_Force_Global, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25029 __Pyx_GOTREF(__pyx_t_4);
25030 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Area_Force_Global, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1030; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25031 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25032 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
25033 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25034 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25043 __pyx_t_1 = PyTuple_New(1);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25044 __Pyx_GOTREF(__pyx_t_1);
25045 __Pyx_INCREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
25046 PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
25047 __Pyx_GIVEREF(((PyObject *)((PyObject*)__pyx_ptype_10espressomd_12interactions_BondedInteraction)));
25048 __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25049 __Pyx_GOTREF(__pyx_t_2);
25050 __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_Stretchlin_Force, __pyx_n_s_Stretchlin_Force, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, (PyObject *) NULL);
if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25051 __Pyx_GOTREF(__pyx_t_3);
25060 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_1typeNumber, 0, __pyx_n_s_Stretchlin_Force_typeNumber, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__319));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1059; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25061 __Pyx_GOTREF(__pyx_t_4);
25062 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeNumber, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1059; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25063 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25072 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_3typeName, 0, __pyx_n_s_Stretchlin_Force_typeName, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__321));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25073 __Pyx_GOTREF(__pyx_t_4);
25074 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_typeName, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1062; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25075 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25084 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_5validKeys, 0, __pyx_n_s_Stretchlin_Force_validKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__323));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25085 __Pyx_GOTREF(__pyx_t_4);
25086 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_validKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1065; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25087 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25096 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_7requiredKeys, 0, __pyx_n_s_Stretchlin_Force_requiredKeys, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__325));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25097 __Pyx_GOTREF(__pyx_t_4);
25098 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_requiredKeys, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1068; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25099 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25108 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_9setDefaultParams, 0, __pyx_n_s_Stretchlin_Force_setDefaultParam, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__327));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1071; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25109 __Pyx_GOTREF(__pyx_t_4);
25110 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setDefaultParams, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1071; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25111 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25120 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_11_getParamsFromEsCore, 0, __pyx_n_s_Stretchlin_Force__getParamsFromE, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__329));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1074; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25121 __Pyx_GOTREF(__pyx_t_4);
25122 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_getParamsFromEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1074; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25123 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25132 __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_16Stretchlin_Force_13_setParamsInEsCore, 0, __pyx_n_s_Stretchlin_Force__setParamsInEsC, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__331));
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25133 __Pyx_GOTREF(__pyx_t_4);
25134 if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_setParamsInEsCore, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1079; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25135 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25144 __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_Stretchlin_Force, __pyx_t_1, __pyx_t_3, NULL, 0, 1);
if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25145 __Pyx_GOTREF(__pyx_t_4);
25146 if (PyDict_SetItem(__pyx_d, __pyx_n_s_Stretchlin_Force, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1057; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25147 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
25148 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
25149 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25150 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25159 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25160 __Pyx_GOTREF(__pyx_t_1);
25161 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_FeneBond);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25162 __Pyx_GOTREF(__pyx_t_2);
25163 if (PyDict_SetItem(__pyx_t_1, __pyx_int_0, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25164 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25165 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_HarmonicBond);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25166 __Pyx_GOTREF(__pyx_t_2);
25167 if (PyDict_SetItem(__pyx_t_1, __pyx_int_1, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25168 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25177 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_HarmonicDumbbellBond);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1085; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25178 __Pyx_GOTREF(__pyx_t_2);
25179 if (PyDict_SetItem(__pyx_t_1, __pyx_int_2, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25180 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25181 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_RigidBond);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1085; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25182 __Pyx_GOTREF(__pyx_t_2);
25183 if (PyDict_SetItem(__pyx_t_1, __pyx_int_3, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25184 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25193 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Dihedral);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1086; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25194 __Pyx_GOTREF(__pyx_t_2);
25195 if (PyDict_SetItem(__pyx_t_1, __pyx_int_5, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25196 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25197 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Tabulated);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1086; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25198 __Pyx_GOTREF(__pyx_t_2);
25199 if (PyDict_SetItem(__pyx_t_1, __pyx_int_6, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25200 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25201 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Subt_Lj);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1086; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25202 __Pyx_GOTREF(__pyx_t_2);
25203 if (PyDict_SetItem(__pyx_t_1, __pyx_int_7, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25204 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25213 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Virtual);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1087; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25214 __Pyx_GOTREF(__pyx_t_2);
25215 if (PyDict_SetItem(__pyx_t_1, __pyx_int_9, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25216 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25217 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Endangledist);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1087; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25218 __Pyx_GOTREF(__pyx_t_2);
25219 if (PyDict_SetItem(__pyx_t_1, __pyx_int_11, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25220 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25221 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Overlapped);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1087; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25222 __Pyx_GOTREF(__pyx_t_2);
25223 if (PyDict_SetItem(__pyx_t_1, __pyx_int_12, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25224 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25233 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Angle_Harmonic);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1088; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25234 __Pyx_GOTREF(__pyx_t_2);
25235 if (PyDict_SetItem(__pyx_t_1, __pyx_int_13, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25236 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25237 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Angle_Cosine);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1088; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25238 __Pyx_GOTREF(__pyx_t_2);
25239 if (PyDict_SetItem(__pyx_t_1, __pyx_int_14, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25240 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25249 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Angle_Cossquare);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1089; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25250 __Pyx_GOTREF(__pyx_t_2);
25251 if (PyDict_SetItem(__pyx_t_1, __pyx_int_15, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25252 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25253 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Stretching_Force);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1089; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25254 __Pyx_GOTREF(__pyx_t_2);
25255 if (PyDict_SetItem(__pyx_t_1, __pyx_int_16, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25256 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25265 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Area_Force_Local);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1090; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25266 __Pyx_GOTREF(__pyx_t_2);
25267 if (PyDict_SetItem(__pyx_t_1, __pyx_int_17, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25268 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25269 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Bending_Force);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1090; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25270 __Pyx_GOTREF(__pyx_t_2);
25271 if (PyDict_SetItem(__pyx_t_1, __pyx_int_18, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25272 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25281 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Volume_Force);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1091; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25282 __Pyx_GOTREF(__pyx_t_2);
25283 if (PyDict_SetItem(__pyx_t_1, __pyx_int_19, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25284 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25285 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Area_Force_Global);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1091; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25286 __Pyx_GOTREF(__pyx_t_2);
25287 if (PyDict_SetItem(__pyx_t_1, __pyx_int_20, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25288 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25297 __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_Stretchlin_Force);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1092; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25298 __Pyx_GOTREF(__pyx_t_2);
25299 if (PyDict_SetItem(__pyx_t_1, __pyx_int_21, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25300 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25301 if (PyDict_SetItem(__pyx_d, __pyx_n_s_bondedInteractionClasses, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1084; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25302 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25311 __pyx_t_1 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_BondedInteractions, __pyx_n_s_BondedInteractions, (PyObject *) NULL, __pyx_n_s_espressomd_interactions, __pyx_kp_s_Represents_the_bonded_interactio);
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25312 __Pyx_GOTREF(__pyx_t_1);
25321 __pyx_t_2 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_18BondedInteractions_1__getitem__, 0, __pyx_n_s_BondedInteractions___getitem, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__333));
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25322 __Pyx_GOTREF(__pyx_t_2);
25323 if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_getitem, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1101; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25324 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25333 __pyx_t_2 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10espressomd_12interactions_18BondedInteractions_3__setitem__, 0, __pyx_n_s_BondedInteractions___setitem, NULL, __pyx_n_s_espressomd_interactions, __pyx_d, ((PyObject *)__pyx_codeobj__335));
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25334 __Pyx_GOTREF(__pyx_t_2);
25335 if (PyObject_SetItem(__pyx_t_1, __pyx_n_s_setitem, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1123; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25336 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25345 __pyx_t_2 = __Pyx_Py3ClassCreate(((PyObject*)&__Pyx_DefaultClassType), __pyx_n_s_BondedInteractions, __pyx_empty_tuple, __pyx_t_1, NULL, 0, 1);
if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25346 __Pyx_GOTREF(__pyx_t_2);
25347 if (PyDict_SetItem(__pyx_d, __pyx_n_s_BondedInteractions, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1095; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25348 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
25349 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25356 __pyx_t_1 = PyDict_New();
if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25357 __Pyx_GOTREF(__pyx_t_1);
25358 if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__;
goto __pyx_L1_error;}
25359 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
25373 __Pyx_XDECREF(__pyx_t_1);
25374 __Pyx_XDECREF(__pyx_t_2);
25375 __Pyx_XDECREF(__pyx_t_3);
25376 __Pyx_XDECREF(__pyx_t_4);
25379 __Pyx_AddTraceback(
"init espressomd.interactions", __pyx_clineno, __pyx_lineno, __pyx_filename);
25381 Py_DECREF(__pyx_m); __pyx_m = 0;
25382 }
else if (!PyErr_Occurred()) {
25383 PyErr_SetString(PyExc_ImportError,
"init espressomd.interactions");
25386 __Pyx_RefNannyFinishContext();
25387 #if PY_MAJOR_VERSION < 3
25395 #if CYTHON_REFNANNY
25396 static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(
const char *modname) {
25397 PyObject *m = NULL, *p = NULL;
25399 m = PyImport_ImportModule((
char *)modname);
25401 p = PyObject_GetAttrString(m, (
char *)
"RefNannyAPI");
25403 r = PyLong_AsVoidPtr(p);
25407 return (__Pyx_RefNannyAPIStruct *)r;
25411 static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
25412 PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
25413 if (unlikely(!result)) {
25414 PyErr_Format(PyExc_NameError,
25415 #
if PY_MAJOR_VERSION >= 3
25416 "name '%U' is not defined", name);
25418 "name '%.200s' is not defined", PyString_AS_STRING(name));
25424 static CYTHON_INLINE
int __Pyx_CheckKeywordStrings(
25426 const char* function_name,
25430 Py_ssize_t pos = 0;
25431 #if CYTHON_COMPILING_IN_PYPY
25432 if (!kw_allowed && PyDict_Next(kwdict, &pos, &key, 0))
25433 goto invalid_keyword;
25436 while (PyDict_Next(kwdict, &pos, &key, 0)) {
25437 #if PY_MAJOR_VERSION < 3
25438 if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key)))
25440 if (unlikely(!PyUnicode_Check(key)))
25441 goto invalid_keyword_type;
25443 if ((!kw_allowed) && unlikely(key))
25444 goto invalid_keyword;
25446 invalid_keyword_type:
25447 PyErr_Format(PyExc_TypeError,
25448 "%.200s() keywords must be strings", function_name);
25452 PyErr_Format(PyExc_TypeError,
25453 #
if PY_MAJOR_VERSION < 3
25454 "%.200s() got an unexpected keyword argument '%.200s'",
25455 function_name, PyString_AsString(key));
25457 "%s() got an unexpected keyword argument '%U'",
25458 function_name, key);
25463 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
25465 if (!j)
return NULL;
25466 r = PyObject_GetItem(o, j);
25470 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
25471 int wraparound,
int boundscheck) {
25472 #if CYTHON_COMPILING_IN_CPYTHON
25473 if (wraparound & unlikely(i < 0)) i += PyList_GET_SIZE(o);
25474 if ((!boundscheck) || likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
25475 PyObject *r = PyList_GET_ITEM(o, i);
25479 return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
25481 return PySequence_GetItem(o, i);
25484 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
25485 int wraparound,
int boundscheck) {
25486 #if CYTHON_COMPILING_IN_CPYTHON
25487 if (wraparound & unlikely(i < 0)) i += PyTuple_GET_SIZE(o);
25488 if ((!boundscheck) || likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
25489 PyObject *r = PyTuple_GET_ITEM(o, i);
25493 return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
25495 return PySequence_GetItem(o, i);
25498 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
25499 int is_list,
int wraparound,
int boundscheck) {
25500 #if CYTHON_COMPILING_IN_CPYTHON
25501 if (is_list || PyList_CheckExact(o)) {
25502 Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
25503 if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
25504 PyObject *r = PyList_GET_ITEM(o, n);
25509 else if (PyTuple_CheckExact(o)) {
25510 Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
25511 if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
25512 PyObject *r = PyTuple_GET_ITEM(o, n);
25517 PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
25518 if (likely(m && m->sq_item)) {
25519 if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
25520 Py_ssize_t l = m->sq_length(o);
25521 if (likely(l >= 0)) {
25524 if (PyErr_ExceptionMatches(PyExc_OverflowError))
25530 return m->sq_item(o, i);
25534 if (is_list || PySequence_Check(o)) {
25535 return PySequence_GetItem(o, i);
25538 return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
25541 #if CYTHON_COMPILING_IN_CPYTHON
25542 static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
25544 ternaryfunc call = func->ob_type->tp_call;
25545 if (unlikely(!call))
25546 return PyObject_Call(func, arg, kw);
25547 if (unlikely(Py_EnterRecursiveCall((
char*)
" while calling a Python object")))
25549 result = (*call)(func, arg, kw);
25550 Py_LeaveRecursiveCall();
25551 if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
25554 "NULL result without error in PyObject_Call");
25560 #if CYTHON_COMPILING_IN_CPYTHON
25561 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
25562 PyObject *
self, *result;
25564 cfunc = PyCFunction_GET_FUNCTION(func);
25565 self = PyCFunction_GET_SELF(func);
25566 if (unlikely(Py_EnterRecursiveCall((
char*)
" while calling a Python object")))
25568 result = cfunc(
self, arg);
25569 Py_LeaveRecursiveCall();
25570 if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
25573 "NULL result without error in PyObject_Call");
25579 #if CYTHON_COMPILING_IN_CPYTHON
25580 static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
25582 PyObject *args = PyTuple_New(1);
25583 if (unlikely(!args))
return NULL;
25585 PyTuple_SET_ITEM(args, 0, arg);
25586 result = __Pyx_PyObject_Call(func, args, NULL);
25590 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
25591 #ifdef __Pyx_CyFunction_USED
25592 if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
25594 if (likely(PyCFunction_Check(func))) {
25596 if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
25597 return __Pyx_PyObject_CallMethO(func, arg);
25600 return __Pyx__PyObject_CallOneArg(func, arg);
25603 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
25604 PyObject* args = PyTuple_Pack(1, arg);
25605 return (likely(args)) ? __Pyx_PyObject_Call(func, args, NULL) : NULL;
25609 #if CYTHON_COMPILING_IN_CPYTHON
25610 static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
25611 #ifdef __Pyx_CyFunction_USED
25612 if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
25614 if (likely(PyCFunction_Check(func))) {
25616 if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
25617 return __Pyx_PyObject_CallMethO(func, NULL);
25620 return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
25624 static CYTHON_INLINE
void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
25625 #if CYTHON_COMPILING_IN_CPYTHON
25626 PyObject *tmp_type, *tmp_value, *tmp_tb;
25627 PyThreadState *tstate = PyThreadState_GET();
25628 tmp_type = tstate->curexc_type;
25629 tmp_value = tstate->curexc_value;
25630 tmp_tb = tstate->curexc_traceback;
25631 tstate->curexc_type = type;
25632 tstate->curexc_value = value;
25633 tstate->curexc_traceback = tb;
25634 Py_XDECREF(tmp_type);
25635 Py_XDECREF(tmp_value);
25636 Py_XDECREF(tmp_tb);
25638 PyErr_Restore(type, value, tb);
25641 static CYTHON_INLINE
void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
25642 #if CYTHON_COMPILING_IN_CPYTHON
25643 PyThreadState *tstate = PyThreadState_GET();
25644 *type = tstate->curexc_type;
25645 *value = tstate->curexc_value;
25646 *tb = tstate->curexc_traceback;
25647 tstate->curexc_type = 0;
25648 tstate->curexc_value = 0;
25649 tstate->curexc_traceback = 0;
25651 PyErr_Fetch(type, value, tb);
25655 #if PY_MAJOR_VERSION < 3
25656 static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
25657 CYTHON_UNUSED PyObject *cause) {
25659 if (!value || value == Py_None)
25663 if (!tb || tb == Py_None)
25667 if (!PyTraceBack_Check(tb)) {
25668 PyErr_SetString(PyExc_TypeError,
25669 "raise: arg 3 must be a traceback or None");
25673 if (PyType_Check(type)) {
25674 #if CYTHON_COMPILING_IN_PYPY
25676 Py_INCREF(Py_None);
25680 PyErr_NormalizeException(&type, &value, &tb);
25683 PyErr_SetString(PyExc_TypeError,
25684 "instance exception may not have a separate value");
25688 type = (PyObject*) Py_TYPE(type);
25690 if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
25691 PyErr_SetString(PyExc_TypeError,
25692 "raise: exception class must be a subclass of BaseException");
25696 __Pyx_ErrRestore(type, value, tb);
25705 static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
25706 PyObject* owned_instance = NULL;
25707 if (tb == Py_None) {
25709 }
else if (tb && !PyTraceBack_Check(tb)) {
25710 PyErr_SetString(PyExc_TypeError,
25711 "raise: arg 3 must be a traceback or None");
25714 if (value == Py_None)
25716 if (PyExceptionInstance_Check(type)) {
25718 PyErr_SetString(PyExc_TypeError,
25719 "instance exception may not have a separate value");
25723 type = (PyObject*) Py_TYPE(value);
25724 }
else if (PyExceptionClass_Check(type)) {
25725 PyObject *instance_class = NULL;
25726 if (value && PyExceptionInstance_Check(value)) {
25727 instance_class = (PyObject*) Py_TYPE(value);
25728 if (instance_class != type) {
25729 if (PyObject_IsSubclass(instance_class, type)) {
25730 type = instance_class;
25732 instance_class = NULL;
25736 if (!instance_class) {
25739 args = PyTuple_New(0);
25740 else if (PyTuple_Check(value)) {
25744 args = PyTuple_Pack(1, value);
25747 owned_instance = PyObject_Call(type, args, NULL);
25749 if (!owned_instance)
25751 value = owned_instance;
25752 if (!PyExceptionInstance_Check(value)) {
25753 PyErr_Format(PyExc_TypeError,
25754 "calling %R should have returned an instance of "
25755 "BaseException, not %R",
25756 type, Py_TYPE(value));
25761 PyErr_SetString(PyExc_TypeError,
25762 "raise: exception class must be a subclass of BaseException");
25765 #if PY_VERSION_HEX >= 0x03030000
25768 if (cause && cause != Py_None) {
25770 PyObject *fixed_cause;
25771 if (cause == Py_None) {
25772 fixed_cause = NULL;
25773 }
else if (PyExceptionClass_Check(cause)) {
25774 fixed_cause = PyObject_CallObject(cause, NULL);
25775 if (fixed_cause == NULL)
25777 }
else if (PyExceptionInstance_Check(cause)) {
25778 fixed_cause = cause;
25779 Py_INCREF(fixed_cause);
25781 PyErr_SetString(PyExc_TypeError,
25782 "exception causes must derive from "
25786 PyException_SetCause(value, fixed_cause);
25788 PyErr_SetObject(type, value);
25790 #if CYTHON_COMPILING_IN_PYPY
25791 PyObject *tmp_type, *tmp_value, *tmp_tb;
25792 PyErr_Fetch(tmp_type, tmp_value, tmp_tb);
25794 PyErr_Restore(tmp_type, tmp_value, tb);
25795 Py_XDECREF(tmp_tb);
25797 PyThreadState *tstate = PyThreadState_GET();
25798 PyObject* tmp_tb = tstate->curexc_traceback;
25799 if (tb != tmp_tb) {
25801 tstate->curexc_traceback = tb;
25802 Py_XDECREF(tmp_tb);
25807 Py_XDECREF(owned_instance);
25812 static void __Pyx_RaiseArgtupleInvalid(
25813 const char* func_name,
25815 Py_ssize_t num_min,
25816 Py_ssize_t num_max,
25817 Py_ssize_t num_found)
25819 Py_ssize_t num_expected;
25820 const char *more_or_less;
25821 if (num_found < num_min) {
25822 num_expected = num_min;
25823 more_or_less =
"at least";
25825 num_expected = num_max;
25826 more_or_less =
"at most";
25829 more_or_less =
"exactly";
25831 PyErr_Format(PyExc_TypeError,
25832 "%.200s() takes %.8s %" CYTHON_FORMAT_SSIZE_T
"d positional argument%.1s (%" CYTHON_FORMAT_SSIZE_T
"d given)",
25833 func_name, more_or_less, num_expected,
25834 (num_expected == 1) ?
"" :
"s", num_found);
25837 static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
25838 PyObject *method, *result = NULL;
25839 method = __Pyx_PyObject_GetAttrStr(obj, method_name);
25840 if (unlikely(!method))
goto bad;
25841 #if CYTHON_COMPILING_IN_CPYTHON
25842 if (likely(PyMethod_Check(method))) {
25843 PyObject *
self = PyMethod_GET_SELF(method);
25844 if (likely(
self)) {
25846 PyObject *
function = PyMethod_GET_FUNCTION(method);
25847 args = PyTuple_New(2);
25848 if (unlikely(!args))
goto bad;
25850 PyTuple_SET_ITEM(args, 0,
self);
25852 PyTuple_SET_ITEM(args, 1, arg);
25853 Py_INCREF(
function);
25854 Py_DECREF(method); method = NULL;
25855 result = __Pyx_PyObject_Call(
function, args, NULL);
25857 Py_DECREF(
function);
25862 result = __Pyx_PyObject_CallOneArg(method, arg);
25864 Py_XDECREF(method);
25868 static CYTHON_INLINE PyObject* __Pyx_PyDict_Keys(PyObject* d) {
25869 if (PY_MAJOR_VERSION >= 3)
25870 return __Pyx_PyObject_CallMethod1((PyObject*)&PyDict_Type, __pyx_n_s_keys, d);
25872 return PyDict_Keys(d);
25875 static CYTHON_INLINE
int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2,
int equals) {
25876 #if CYTHON_COMPILING_IN_PYPY
25877 return PyObject_RichCompareBool(s1, s2, equals);
25880 return (equals == Py_EQ);
25881 }
else if (PyBytes_CheckExact(s1) & PyBytes_CheckExact(s2)) {
25882 const char *ps1, *ps2;
25883 Py_ssize_t length = PyBytes_GET_SIZE(s1);
25884 if (length != PyBytes_GET_SIZE(s2))
25885 return (equals == Py_NE);
25886 ps1 = PyBytes_AS_STRING(s1);
25887 ps2 = PyBytes_AS_STRING(s2);
25888 if (ps1[0] != ps2[0]) {
25889 return (equals == Py_NE);
25890 }
else if (length == 1) {
25891 return (equals == Py_EQ);
25893 int result = memcmp(ps1, ps2, (
size_t)length);
25894 return (equals == Py_EQ) ? (result == 0) : (result != 0);
25896 }
else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) {
25897 return (equals == Py_NE);
25898 }
else if ((s2 == Py_None) & PyBytes_CheckExact(s1)) {
25899 return (equals == Py_NE);
25902 PyObject* py_result = PyObject_RichCompare(s1, s2, equals);
25905 result = __Pyx_PyObject_IsTrue(py_result);
25906 Py_DECREF(py_result);
25912 static CYTHON_INLINE
int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2,
int equals) {
25913 #if CYTHON_COMPILING_IN_PYPY
25914 return PyObject_RichCompareBool(s1, s2, equals);
25916 #if PY_MAJOR_VERSION < 3
25917 PyObject* owned_ref = NULL;
25919 int s1_is_unicode, s2_is_unicode;
25923 s1_is_unicode = PyUnicode_CheckExact(s1);
25924 s2_is_unicode = PyUnicode_CheckExact(s2);
25925 #if PY_MAJOR_VERSION < 3
25926 if ((s1_is_unicode & (!s2_is_unicode)) && PyString_CheckExact(s2)) {
25927 owned_ref = PyUnicode_FromObject(s2);
25928 if (unlikely(!owned_ref))
25932 }
else if ((s2_is_unicode & (!s1_is_unicode)) && PyString_CheckExact(s1)) {
25933 owned_ref = PyUnicode_FromObject(s1);
25934 if (unlikely(!owned_ref))
25938 }
else if (((!s2_is_unicode) & (!s1_is_unicode))) {
25939 return __Pyx_PyBytes_Equals(s1, s2, equals);
25942 if (s1_is_unicode & s2_is_unicode) {
25945 void *data1, *data2;
25946 if (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0))
25948 length = __Pyx_PyUnicode_GET_LENGTH(s1);
25949 if (length != __Pyx_PyUnicode_GET_LENGTH(s2)) {
25952 kind = __Pyx_PyUnicode_KIND(s1);
25953 if (kind != __Pyx_PyUnicode_KIND(s2)) {
25956 data1 = __Pyx_PyUnicode_DATA(s1);
25957 data2 = __Pyx_PyUnicode_DATA(s2);
25958 if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) {
25960 }
else if (length == 1) {
25963 int result = memcmp(data1, data2, (
size_t)(length * kind));
25964 #if PY_MAJOR_VERSION < 3
25965 Py_XDECREF(owned_ref);
25967 return (equals == Py_EQ) ? (result == 0) : (result != 0);
25969 }
else if ((s1 == Py_None) & s2_is_unicode) {
25971 }
else if ((s2 == Py_None) & s1_is_unicode) {
25975 PyObject* py_result = PyObject_RichCompare(s1, s2, equals);
25978 result = __Pyx_PyObject_IsTrue(py_result);
25979 Py_DECREF(py_result);
25983 #if PY_MAJOR_VERSION < 3
25984 Py_XDECREF(owned_ref);
25986 return (equals == Py_EQ);
25988 #if PY_MAJOR_VERSION < 3
25989 Py_XDECREF(owned_ref);
25991 return (equals == Py_NE);
25995 static void __Pyx_RaiseDoubleKeywordsError(
25996 const char* func_name,
25999 PyErr_Format(PyExc_TypeError,
26000 #
if PY_MAJOR_VERSION >= 3
26001 "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
26003 "%s() got multiple values for keyword argument '%s'", func_name,
26004 PyString_AsString(kw_name));
26008 static int __Pyx_ParseOptionalKeywords(
26010 PyObject **argnames[],
26012 PyObject *values[],
26013 Py_ssize_t num_pos_args,
26014 const char* function_name)
26016 PyObject *key = 0, *value = 0;
26017 Py_ssize_t pos = 0;
26019 PyObject*** first_kw_arg = argnames + num_pos_args;
26020 while (PyDict_Next(kwds, &pos, &key, &value)) {
26021 name = first_kw_arg;
26022 while (*name && (**name != key)) name++;
26024 values[name-argnames] = value;
26027 name = first_kw_arg;
26028 #if PY_MAJOR_VERSION < 3
26029 if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) {
26031 if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key))
26032 && _PyString_Eq(**name, key)) {
26033 values[name-argnames] = value;
26038 if (*name)
continue;
26040 PyObject*** argname = argnames;
26041 while (argname != first_kw_arg) {
26042 if ((**argname == key) || (
26043 (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key))
26044 && _PyString_Eq(**argname, key))) {
26045 goto arg_passed_twice;
26052 if (likely(PyUnicode_Check(key))) {
26054 int cmp = (**name == key) ? 0 :
26055 #
if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
26056 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
26058 PyUnicode_Compare(**name, key);
26059 if (cmp < 0 && unlikely(PyErr_Occurred()))
goto bad;
26061 values[name-argnames] = value;
26066 if (*name)
continue;
26068 PyObject*** argname = argnames;
26069 while (argname != first_kw_arg) {
26070 int cmp = (**argname == key) ? 0 :
26071 #
if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
26072 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
26074 PyUnicode_Compare(**argname, key);
26075 if (cmp < 0 && unlikely(PyErr_Occurred()))
goto bad;
26076 if (cmp == 0)
goto arg_passed_twice;
26081 goto invalid_keyword_type;
26083 if (unlikely(PyDict_SetItem(kwds2, key, value)))
goto bad;
26085 goto invalid_keyword;
26090 __Pyx_RaiseDoubleKeywordsError(function_name, key);
26092 invalid_keyword_type:
26093 PyErr_Format(PyExc_TypeError,
26094 "%.200s() keywords must be strings", function_name);
26097 PyErr_Format(PyExc_TypeError,
26098 #
if PY_MAJOR_VERSION < 3
26099 "%.200s() got an unexpected keyword argument '%.200s'",
26100 function_name, PyString_AsString(key));
26102 "%s() got an unexpected keyword argument '%U'",
26103 function_name, key);
26109 static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
26111 #if CYTHON_COMPILING_IN_CPYTHON
26112 result = PyDict_GetItem(__pyx_d, name);
26113 if (likely(result)) {
26117 result = PyObject_GetItem(__pyx_d, name);
26121 result = __Pyx_GetBuiltinName(name);
26126 static CYTHON_INLINE
void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
26127 PyErr_Format(PyExc_ValueError,
26128 "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T
"d)", expected);
26131 static CYTHON_INLINE
void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
26132 PyErr_Format(PyExc_ValueError,
26133 "need more than %" CYTHON_FORMAT_SSIZE_T
"d value%.1s to unpack",
26134 index, (index == 1) ?
"" :
"s");
26137 static CYTHON_INLINE
void __Pyx_RaiseNoneNotIterableError(
void) {
26138 PyErr_SetString(PyExc_TypeError,
"'NoneType' object is not iterable");
26141 static CYTHON_INLINE
int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
26142 if (unlikely(!type)) {
26143 PyErr_SetString(PyExc_SystemError,
"Missing type object");
26146 if (likely(PyObject_TypeCheck(obj, type)))
26148 PyErr_Format(PyExc_TypeError,
"Cannot convert %.200s to %.200s",
26149 Py_TYPE(obj)->tp_name, type->tp_name);
26153 static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases) {
26154 Py_ssize_t
i, nbases = PyTuple_GET_SIZE(bases);
26155 for (i=0; i < nbases; i++) {
26156 PyTypeObject *tmptype;
26157 PyObject *tmp = PyTuple_GET_ITEM(bases, i);
26158 tmptype = Py_TYPE(tmp);
26159 #if PY_MAJOR_VERSION < 3
26160 if (tmptype == &PyClass_Type)
26164 metaclass = tmptype;
26167 if (PyType_IsSubtype(metaclass, tmptype))
26169 if (PyType_IsSubtype(tmptype, metaclass)) {
26170 metaclass = tmptype;
26173 PyErr_SetString(PyExc_TypeError,
26174 "metaclass conflict: "
26175 "the metaclass of a derived class "
26176 "must be a (non-strict) subclass "
26177 "of the metaclasses of all its bases");
26181 #if PY_MAJOR_VERSION < 3
26182 metaclass = &PyClass_Type;
26184 metaclass = &PyType_Type;
26187 Py_INCREF((PyObject*) metaclass);
26188 return (PyObject*) metaclass;
26191 static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
26192 PyObject* fake_module;
26193 PyTypeObject* cached_type = NULL;
26194 fake_module = PyImport_AddModule((
char*)
"_cython_" CYTHON_ABI);
26195 if (!fake_module)
return NULL;
26196 Py_INCREF(fake_module);
26197 cached_type = (PyTypeObject*) PyObject_GetAttrString(fake_module, type->tp_name);
26199 if (!PyType_Check((PyObject*)cached_type)) {
26200 PyErr_Format(PyExc_TypeError,
26201 "Shared Cython type %.200s is not a type object",
26205 if (cached_type->tp_basicsize != type->tp_basicsize) {
26206 PyErr_Format(PyExc_TypeError,
26207 "Shared Cython type %.200s has the wrong size, try recompiling",
26212 if (!PyErr_ExceptionMatches(PyExc_AttributeError))
goto bad;
26214 if (PyType_Ready(type) < 0)
goto bad;
26215 if (PyObject_SetAttrString(fake_module, type->tp_name, (PyObject*) type) < 0)
26218 cached_type = type;
26221 Py_DECREF(fake_module);
26222 return cached_type;
26224 Py_XDECREF(cached_type);
26225 cached_type = NULL;
26230 __Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED
void *closure)
26232 if (unlikely(op->func_doc == NULL)) {
26233 if (op->func.m_ml->ml_doc) {
26234 #if PY_MAJOR_VERSION >= 3
26235 op->func_doc = PyUnicode_FromString(op->func.m_ml->ml_doc);
26237 op->func_doc = PyString_FromString(op->func.m_ml->ml_doc);
26239 if (unlikely(op->func_doc == NULL))
26242 Py_INCREF(Py_None);
26246 Py_INCREF(op->func_doc);
26247 return op->func_doc;
26250 __Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value)
26252 PyObject *tmp = op->func_doc;
26253 if (value == NULL) {
26257 op->func_doc = value;
26262 __Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op)
26264 if (unlikely(op->func_name == NULL)) {
26265 #if PY_MAJOR_VERSION >= 3
26266 op->func_name = PyUnicode_InternFromString(op->func.m_ml->ml_name);
26268 op->func_name = PyString_InternFromString(op->func.m_ml->ml_name);
26270 if (unlikely(op->func_name == NULL))
26273 Py_INCREF(op->func_name);
26274 return op->func_name;
26277 __Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value)
26280 #if PY_MAJOR_VERSION >= 3
26281 if (unlikely(value == NULL || !PyUnicode_Check(value))) {
26283 if (unlikely(value == NULL || !PyString_Check(value))) {
26285 PyErr_SetString(PyExc_TypeError,
26286 "__name__ must be set to a string object");
26289 tmp = op->func_name;
26291 op->func_name = value;
26296 __Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op)
26298 Py_INCREF(op->func_qualname);
26299 return op->func_qualname;
26302 __Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value)
26305 #if PY_MAJOR_VERSION >= 3
26306 if (unlikely(value == NULL || !PyUnicode_Check(value))) {
26308 if (unlikely(value == NULL || !PyString_Check(value))) {
26310 PyErr_SetString(PyExc_TypeError,
26311 "__qualname__ must be set to a string object");
26314 tmp = op->func_qualname;
26316 op->func_qualname = value;
26321 __Pyx_CyFunction_get_self(__pyx_CyFunctionObject *m, CYTHON_UNUSED
void *closure)
26324 self = m->func_closure;
26331 __Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op)
26333 if (unlikely(op->func_dict == NULL)) {
26334 op->func_dict = PyDict_New();
26335 if (unlikely(op->func_dict == NULL))
26338 Py_INCREF(op->func_dict);
26339 return op->func_dict;
26342 __Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
26345 if (unlikely(value == NULL)) {
26346 PyErr_SetString(PyExc_TypeError,
26347 "function's dictionary may not be deleted");
26350 if (unlikely(!PyDict_Check(value))) {
26351 PyErr_SetString(PyExc_TypeError,
26352 "setting function's dictionary to a non-dict");
26355 tmp = op->func_dict;
26357 op->func_dict = value;
26362 __Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op)
26364 Py_INCREF(op->func_globals);
26365 return op->func_globals;
26368 __Pyx_CyFunction_get_closure(CYTHON_UNUSED __pyx_CyFunctionObject *op)
26370 Py_INCREF(Py_None);
26374 __Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op)
26376 PyObject* result = (op->func_code) ? op->func_code : Py_None;
26381 __Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) {
26382 PyObject *res = op->defaults_getter((PyObject *) op);
26383 if (unlikely(!res))
26385 op->defaults_tuple = PyTuple_GET_ITEM(res, 0);
26386 Py_INCREF(op->defaults_tuple);
26387 op->defaults_kwdict = PyTuple_GET_ITEM(res, 1);
26388 Py_INCREF(op->defaults_kwdict);
26393 __Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value) {
26397 }
else if (value != Py_None && !PyTuple_Check(value)) {
26398 PyErr_SetString(PyExc_TypeError,
26399 "__defaults__ must be set to a tuple object");
26403 tmp = op->defaults_tuple;
26404 op->defaults_tuple = value;
26409 __Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op) {
26410 PyObject* result = op->defaults_tuple;
26411 if (unlikely(!result)) {
26412 if (op->defaults_getter) {
26413 if (__Pyx_CyFunction_init_defaults(op) < 0)
return NULL;
26414 result = op->defaults_tuple;
26423 __Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value) {
26427 }
else if (value != Py_None && !PyDict_Check(value)) {
26428 PyErr_SetString(PyExc_TypeError,
26429 "__kwdefaults__ must be set to a dict object");
26433 tmp = op->defaults_kwdict;
26434 op->defaults_kwdict = value;
26439 __Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op) {
26440 PyObject* result = op->defaults_kwdict;
26441 if (unlikely(!result)) {
26442 if (op->defaults_getter) {
26443 if (__Pyx_CyFunction_init_defaults(op) < 0)
return NULL;
26444 result = op->defaults_kwdict;
26453 __Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value) {
26455 if (!value || value == Py_None) {
26457 }
else if (!PyDict_Check(value)) {
26458 PyErr_SetString(PyExc_TypeError,
26459 "__annotations__ must be set to a dict object");
26463 tmp = op->func_annotations;
26464 op->func_annotations = value;
26469 __Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op) {
26470 PyObject* result = op->func_annotations;
26471 if (unlikely(!result)) {
26472 result = PyDict_New();
26473 if (unlikely(!result))
return NULL;
26474 op->func_annotations = result;
26479 static PyGetSetDef __pyx_CyFunction_getsets[] = {
26480 {(
char *)
"func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
26481 {(
char *)
"__doc__", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
26482 {(
char *)
"func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
26483 {(
char *)
"__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
26484 {(
char *)
"__qualname__", (getter)__Pyx_CyFunction_get_qualname, (setter)__Pyx_CyFunction_set_qualname, 0, 0},
26485 {(
char *)
"__self__", (getter)__Pyx_CyFunction_get_self, 0, 0, 0},
26486 {(
char *)
"func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
26487 {(
char *)
"__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
26488 {(
char *)
"func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
26489 {(
char *)
"__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
26490 {(
char *)
"func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
26491 {(
char *)
"__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
26492 {(
char *)
"func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
26493 {(
char *)
"__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
26494 {(
char *)
"func_defaults", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
26495 {(
char *)
"__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
26496 {(
char *)
"__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0},
26497 {(
char *)
"__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0},
26500 static PyMemberDef __pyx_CyFunction_members[] = {
26501 {(
char *)
"__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
26505 __Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, CYTHON_UNUSED PyObject *args)
26507 #if PY_MAJOR_VERSION >= 3
26508 return PyUnicode_FromString(m->func.m_ml->ml_name);
26510 return PyString_FromString(m->func.m_ml->ml_name);
26513 static PyMethodDef __pyx_CyFunction_methods[] = {
26514 {
"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0},
26517 #if PY_VERSION_HEX < 0x030500A0
26518 #define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist)
26520 #define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func.m_weakreflist)
26522 static PyObject *__Pyx_CyFunction_New(PyTypeObject *type, PyMethodDef *ml,
int flags, PyObject* qualname,
26523 PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) {
26524 __pyx_CyFunctionObject *op = PyObject_GC_New(__pyx_CyFunctionObject, type);
26528 __Pyx_CyFunction_weakreflist(op) = NULL;
26529 op->func.m_ml = ml;
26530 op->func.m_self = (PyObject *) op;
26531 Py_XINCREF(closure);
26532 op->func_closure = closure;
26533 Py_XINCREF(module);
26534 op->func.m_module = module;
26535 op->func_dict = NULL;
26536 op->func_name = NULL;
26537 Py_INCREF(qualname);
26538 op->func_qualname = qualname;
26539 op->func_doc = NULL;
26540 op->func_classobj = NULL;
26541 op->func_globals = globals;
26542 Py_INCREF(op->func_globals);
26544 op->func_code = code;
26545 op->defaults_pyobjects = 0;
26546 op->defaults = NULL;
26547 op->defaults_tuple = NULL;
26548 op->defaults_kwdict = NULL;
26549 op->defaults_getter = NULL;
26550 op->func_annotations = NULL;
26551 PyObject_GC_Track(op);
26552 return (PyObject *) op;
26555 __Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
26557 Py_CLEAR(m->func_closure);
26558 Py_CLEAR(m->func.m_module);
26559 Py_CLEAR(m->func_dict);
26560 Py_CLEAR(m->func_name);
26561 Py_CLEAR(m->func_qualname);
26562 Py_CLEAR(m->func_doc);
26563 Py_CLEAR(m->func_globals);
26564 Py_CLEAR(m->func_code);
26565 Py_CLEAR(m->func_classobj);
26566 Py_CLEAR(m->defaults_tuple);
26567 Py_CLEAR(m->defaults_kwdict);
26568 Py_CLEAR(m->func_annotations);
26570 PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
26572 for (i = 0; i < m->defaults_pyobjects; i++)
26573 Py_XDECREF(pydefaults[i]);
26574 PyMem_Free(m->defaults);
26575 m->defaults = NULL;
26579 static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
26581 PyObject_GC_UnTrack(m);
26582 if (__Pyx_CyFunction_weakreflist(m) != NULL)
26583 PyObject_ClearWeakRefs((PyObject *) m);
26584 __Pyx_CyFunction_clear(m);
26585 PyObject_GC_Del(m);
26587 static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit,
void *arg)
26589 Py_VISIT(m->func_closure);
26590 Py_VISIT(m->func.m_module);
26591 Py_VISIT(m->func_dict);
26592 Py_VISIT(m->func_name);
26593 Py_VISIT(m->func_qualname);
26594 Py_VISIT(m->func_doc);
26595 Py_VISIT(m->func_globals);
26596 Py_VISIT(m->func_code);
26597 Py_VISIT(m->func_classobj);
26598 Py_VISIT(m->defaults_tuple);
26599 Py_VISIT(m->defaults_kwdict);
26601 PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
26603 for (i = 0; i < m->defaults_pyobjects; i++)
26604 Py_VISIT(pydefaults[i]);
26608 static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type)
26610 __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
26611 if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) {
26615 if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) {
26617 type = (PyObject *)(Py_TYPE(obj));
26618 return __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type)));
26620 if (obj == Py_None)
26622 return __Pyx_PyMethod_New(func, obj, type);
26625 __Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
26627 #if PY_MAJOR_VERSION >= 3
26628 return PyUnicode_FromFormat(
"<cyfunction %U at %p>",
26629 op->func_qualname, (
void *)op);
26631 return PyString_FromFormat(
"<cyfunction %s at %p>",
26632 PyString_AsString(op->func_qualname), (
void *)op);
26635 #if CYTHON_COMPILING_IN_PYPY
26636 static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
26637 PyCFunctionObject* f = (PyCFunctionObject*)func;
26638 PyCFunction meth = PyCFunction_GET_FUNCTION(func);
26639 PyObject *
self = PyCFunction_GET_SELF(func);
26641 switch (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)) {
26643 if (likely(kw == NULL) || PyDict_Size(kw) == 0)
26644 return (*meth)(
self, arg);
26646 case METH_VARARGS | METH_KEYWORDS:
26647 return (*(PyCFunctionWithKeywords)meth)(
self, arg, kw);
26649 if (likely(kw == NULL) || PyDict_Size(kw) == 0) {
26650 size = PyTuple_GET_SIZE(arg);
26652 return (*meth)(
self, NULL);
26653 PyErr_Format(PyExc_TypeError,
26654 "%.200s() takes no arguments (%" CYTHON_FORMAT_SSIZE_T
"d given)",
26655 f->m_ml->ml_name, size);
26660 if (likely(kw == NULL) || PyDict_Size(kw) == 0) {
26661 size = PyTuple_GET_SIZE(arg);
26663 return (*meth)(
self, PyTuple_GET_ITEM(arg, 0));
26664 PyErr_Format(PyExc_TypeError,
26665 "%.200s() takes exactly one argument (%" CYTHON_FORMAT_SSIZE_T
"d given)",
26666 f->m_ml->ml_name, size);
26671 PyErr_SetString(PyExc_SystemError,
"Bad call flags in "
26672 "__Pyx_CyFunction_Call. METH_OLDARGS is no "
26673 "longer supported!");
26676 PyErr_Format(PyExc_TypeError,
"%.200s() takes no keyword arguments",
26681 static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
26682 return PyCFunction_Call(func, arg, kw);
26685 static PyTypeObject __pyx_CyFunctionType_type = {
26686 PyVarObject_HEAD_INIT(0, 0)
26687 "cython_function_or_method",
26688 sizeof(__pyx_CyFunctionObject),
26690 (destructor) __Pyx_CyFunction_dealloc,
26694 #if PY_MAJOR_VERSION < 3
26699 (reprfunc) __Pyx_CyFunction_repr,
26704 __Pyx_CyFunction_Call,
26709 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
26711 (traverseproc) __Pyx_CyFunction_traverse,
26712 (inquiry) __Pyx_CyFunction_clear,
26714 #if PY_VERSION_HEX < 0x030500A0
26715 offsetof(__pyx_CyFunctionObject, func_weakreflist),
26717 offsetof(PyCFunctionObject, m_weakreflist),
26721 __pyx_CyFunction_methods,
26722 __pyx_CyFunction_members,
26723 __pyx_CyFunction_getsets,
26726 __Pyx_CyFunction_descr_get,
26728 offsetof(__pyx_CyFunctionObject, func_dict),
26741 #if PY_VERSION_HEX >= 0x030400a1
26745 static int __Pyx_CyFunction_init(
void) {
26746 #if !CYTHON_COMPILING_IN_PYPY
26747 __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
26749 __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
26750 if (__pyx_CyFunctionType == NULL) {
26755 static CYTHON_INLINE
void *__Pyx_CyFunction_InitDefaults(PyObject *func,
size_t size,
int pyobjects) {
26756 __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
26757 m->defaults = PyMem_Malloc(size);
26759 return PyErr_NoMemory();
26760 memset(m->defaults, 0, size);
26761 m->defaults_pyobjects = pyobjects;
26762 return m->defaults;
26764 static CYTHON_INLINE
void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) {
26765 __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
26766 m->defaults_tuple = tuple;
26769 static CYTHON_INLINE
void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) {
26770 __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
26771 m->defaults_kwdict = dict;
26774 static CYTHON_INLINE
void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) {
26775 __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
26776 m->func_annotations = dict;
26780 static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name,
26781 PyObject *qualname, PyObject *mkw, PyObject *modname, PyObject *doc) {
26784 PyObject *prep = __Pyx_PyObject_GetAttrStr(metaclass, __pyx_n_s_prepare);
26786 PyObject *pargs = PyTuple_Pack(2, name, bases);
26787 if (unlikely(!pargs)) {
26791 ns = PyObject_Call(prep, pargs, mkw);
26795 if (unlikely(!PyErr_ExceptionMatches(PyExc_AttributeError)))
26805 if (unlikely(PyObject_SetItem(ns, __pyx_n_s_module, modname) < 0))
goto bad;
26806 if (unlikely(PyObject_SetItem(ns, __pyx_n_s_qualname, qualname) < 0))
goto bad;
26807 if (unlikely(doc && PyObject_SetItem(ns, __pyx_n_s_doc, doc) < 0))
goto bad;
26813 static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObject *bases,
26814 PyObject *dict, PyObject *mkw,
26815 int calculate_metaclass,
int allow_py2_metaclass) {
26816 PyObject *result, *margs;
26817 PyObject *owned_metaclass = NULL;
26818 if (allow_py2_metaclass) {
26819 owned_metaclass = PyObject_GetItem(dict, __pyx_n_s_metaclass);
26820 if (owned_metaclass) {
26821 metaclass = owned_metaclass;
26822 }
else if (likely(PyErr_ExceptionMatches(PyExc_KeyError))) {
26828 if (calculate_metaclass && (!metaclass || PyType_Check(metaclass))) {
26829 metaclass = __Pyx_CalculateMetaclass((PyTypeObject*) metaclass, bases);
26830 Py_XDECREF(owned_metaclass);
26831 if (unlikely(!metaclass))
26833 owned_metaclass = metaclass;
26835 margs = PyTuple_Pack(3, name, bases, dict);
26836 if (unlikely(!margs)) {
26839 result = PyObject_Call(metaclass, margs, mkw);
26842 Py_XDECREF(owned_metaclass);
26846 static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries,
int count,
int code_line) {
26847 int start = 0, mid = 0, end = count - 1;
26848 if (end >= 0 && code_line > entries[end].code_line) {
26851 while (start < end) {
26852 mid = (start + end) / 2;
26853 if (code_line < entries[mid].code_line) {
26855 }
else if (code_line > entries[mid].code_line) {
26861 if (code_line <= entries[mid].code_line) {
26867 static PyCodeObject *__pyx_find_code_object(
int code_line) {
26868 PyCodeObject* code_object;
26870 if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) {
26873 pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
26874 if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) {
26877 code_object = __pyx_code_cache.entries[pos].code_object;
26878 Py_INCREF(code_object);
26879 return code_object;
26881 static void __pyx_insert_code_object(
int code_line, PyCodeObject* code_object) {
26883 __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries;
26884 if (unlikely(!code_line)) {
26887 if (unlikely(!entries)) {
26888 entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*
sizeof(__Pyx_CodeObjectCacheEntry));
26889 if (likely(entries)) {
26890 __pyx_code_cache.entries = entries;
26891 __pyx_code_cache.max_count = 64;
26892 __pyx_code_cache.count = 1;
26893 entries[0].code_line = code_line;
26894 entries[0].code_object = code_object;
26895 Py_INCREF(code_object);
26899 pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
26900 if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) {
26901 PyCodeObject* tmp = entries[pos].code_object;
26902 entries[pos].code_object = code_object;
26906 if (__pyx_code_cache.count == __pyx_code_cache.max_count) {
26907 int new_max = __pyx_code_cache.max_count + 64;
26908 entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
26909 __pyx_code_cache.entries, (
size_t)new_max*
sizeof(__Pyx_CodeObjectCacheEntry));
26910 if (unlikely(!entries)) {
26913 __pyx_code_cache.entries = entries;
26914 __pyx_code_cache.max_count = new_max;
26916 for (i=__pyx_code_cache.count; i>pos; i--) {
26917 entries[
i] = entries[i-1];
26919 entries[pos].code_line = code_line;
26920 entries[pos].code_object = code_object;
26921 __pyx_code_cache.count++;
26922 Py_INCREF(code_object);
26925 #include "compile.h"
26926 #include "frameobject.h"
26927 #include "traceback.h"
26928 static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
26929 const char *funcname,
int c_line,
26930 int py_line,
const char *filename) {
26931 PyCodeObject *py_code = 0;
26932 PyObject *py_srcfile = 0;
26933 PyObject *py_funcname = 0;
26934 #if PY_MAJOR_VERSION < 3
26935 py_srcfile = PyString_FromString(filename);
26937 py_srcfile = PyUnicode_FromString(filename);
26939 if (!py_srcfile)
goto bad;
26941 #if PY_MAJOR_VERSION < 3
26942 py_funcname = PyString_FromFormat(
"%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
26944 py_funcname = PyUnicode_FromFormat(
"%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
26948 #if PY_MAJOR_VERSION < 3
26949 py_funcname = PyString_FromString(funcname);
26951 py_funcname = PyUnicode_FromString(funcname);
26954 if (!py_funcname)
goto bad;
26955 py_code = __Pyx_PyCode_New(
26972 Py_DECREF(py_srcfile);
26973 Py_DECREF(py_funcname);
26976 Py_XDECREF(py_srcfile);
26977 Py_XDECREF(py_funcname);
26980 static void __Pyx_AddTraceback(
const char *funcname,
int c_line,
26981 int py_line,
const char *filename) {
26982 PyCodeObject *py_code = 0;
26983 PyFrameObject *py_frame = 0;
26984 py_code = __pyx_find_code_object(c_line ? c_line : py_line);
26986 py_code = __Pyx_CreateCodeObjectForTraceback(
26987 funcname, c_line, py_line, filename);
26988 if (!py_code)
goto bad;
26989 __pyx_insert_code_object(c_line ? c_line : py_line, py_code);
26991 py_frame = PyFrame_New(
26992 PyThreadState_GET(),
26997 if (!py_frame)
goto bad;
26998 py_frame->f_lineno = py_line;
26999 PyTraceBack_Here(py_frame);
27001 Py_XDECREF(py_code);
27002 Py_XDECREF(py_frame);
27005 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(
long value) {
27006 const long neg_one = (long) -1, const_zero = 0;
27007 const int is_unsigned = neg_one > const_zero;
27009 if (
sizeof(
long) <
sizeof(long)) {
27010 return PyInt_FromLong((
long) value);
27011 }
else if (
sizeof(
long) <=
sizeof(
unsigned long)) {
27012 return PyLong_FromUnsignedLong((
unsigned long) value);
27013 }
else if (
sizeof(
long) <=
sizeof(
unsigned long long)) {
27014 return PyLong_FromUnsignedLongLong((
unsigned long long) value);
27017 if (
sizeof(
long) <=
sizeof(
long)) {
27018 return PyInt_FromLong((
long) value);
27019 }
else if (
sizeof(
long) <=
sizeof(
long long)) {
27020 return PyLong_FromLongLong((
long long) value);
27024 int one = 1;
int little = (int)*(
unsigned char *)&one;
27025 unsigned char *bytes = (
unsigned char *)&value;
27026 return _PyLong_FromByteArray(bytes,
sizeof(
long),
27027 little, !is_unsigned);
27031 #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value) \
27033 func_type value = func_value; \
27034 if (sizeof(target_type) < sizeof(func_type)) { \
27035 if (unlikely(value != (func_type) (target_type) value)) { \
27036 func_type zero = 0; \
27037 if (is_unsigned && unlikely(value < zero)) \
27038 goto raise_neg_overflow; \
27040 goto raise_overflow; \
27043 return (target_type) value; \
27046 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
27047 #if CYTHON_USE_PYLONG_INTERNALS
27048 #include "longintrepr.h"
27052 static CYTHON_INLINE
int __Pyx_PyInt_As_int(PyObject *x) {
27053 const int neg_one = (int) -1, const_zero = 0;
27054 const int is_unsigned = neg_one > const_zero;
27055 #if PY_MAJOR_VERSION < 3
27056 if (likely(PyInt_Check(x))) {
27057 if (
sizeof(
int) <
sizeof(long)) {
27058 __PYX_VERIFY_RETURN_INT(
int,
long, PyInt_AS_LONG(x))
27060 long val = PyInt_AS_LONG(x);
27061 if (is_unsigned && unlikely(val < 0)) {
27062 goto raise_neg_overflow;
27068 if (likely(PyLong_Check(x))) {
27070 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
27071 #if CYTHON_USE_PYLONG_INTERNALS
27072 switch (Py_SIZE(x)) {
27074 case 1: __PYX_VERIFY_RETURN_INT(
int, digit, ((PyLongObject*)x)->ob_digit[0]);
27078 if (unlikely(Py_SIZE(x) < 0)) {
27079 goto raise_neg_overflow;
27081 if (
sizeof(
int) <=
sizeof(
unsigned long)) {
27082 __PYX_VERIFY_RETURN_INT(
int,
unsigned long, PyLong_AsUnsignedLong(x))
27083 }
else if (
sizeof(
int) <=
sizeof(
unsigned long long)) {
27084 __PYX_VERIFY_RETURN_INT(
int,
unsigned long long, PyLong_AsUnsignedLongLong(x))
27087 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
27088 #if CYTHON_USE_PYLONG_INTERNALS
27089 switch (Py_SIZE(x)) {
27091 case 1: __PYX_VERIFY_RETURN_INT(
int, digit, +(((PyLongObject*)x)->ob_digit[0]));
27092 case -1: __PYX_VERIFY_RETURN_INT(
int, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
27096 if (
sizeof(
int) <=
sizeof(
long)) {
27097 __PYX_VERIFY_RETURN_INT(
int,
long, PyLong_AsLong(x))
27098 }
else if (
sizeof(
int) <=
sizeof(
long long)) {
27099 __PYX_VERIFY_RETURN_INT(
int,
long long, PyLong_AsLongLong(x))
27103 #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
27104 PyErr_SetString(PyExc_RuntimeError,
27105 "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
27108 PyObject *v = __Pyx_PyNumber_Int(x);
27109 #if PY_MAJOR_VERSION < 3
27110 if (likely(v) && !PyLong_Check(v)) {
27112 v = PyNumber_Long(tmp);
27117 int one = 1;
int is_little = (int)*(
unsigned char *)&one;
27118 unsigned char *bytes = (
unsigned char *)&val;
27119 int ret = _PyLong_AsByteArray((PyLongObject *)v,
27120 bytes,
sizeof(val),
27121 is_little, !is_unsigned);
27131 PyObject *tmp = __Pyx_PyNumber_Int(x);
27132 if (!tmp)
return (
int) -1;
27133 val = __Pyx_PyInt_As_int(tmp);
27138 PyErr_SetString(PyExc_OverflowError,
27139 "value too large to convert to int");
27141 raise_neg_overflow:
27142 PyErr_SetString(PyExc_OverflowError,
27143 "can't convert negative value to int");
27147 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(
int value) {
27148 const int neg_one = (int) -1, const_zero = 0;
27149 const int is_unsigned = neg_one > const_zero;
27151 if (
sizeof(
int) <
sizeof(long)) {
27152 return PyInt_FromLong((
long) value);
27153 }
else if (
sizeof(
int) <=
sizeof(
unsigned long)) {
27154 return PyLong_FromUnsignedLong((
unsigned long) value);
27155 }
else if (
sizeof(
int) <=
sizeof(
unsigned long long)) {
27156 return PyLong_FromUnsignedLongLong((
unsigned long long) value);
27159 if (
sizeof(
int) <=
sizeof(
long)) {
27160 return PyInt_FromLong((
long) value);
27161 }
else if (
sizeof(
int) <=
sizeof(
long long)) {
27162 return PyLong_FromLongLong((
long long) value);
27166 int one = 1;
int little = (int)*(
unsigned char *)&one;
27167 unsigned char *bytes = (
unsigned char *)&value;
27168 return _PyLong_FromByteArray(bytes,
sizeof(
int),
27169 little, !is_unsigned);
27173 #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION < 3
27174 static PyObject *__Pyx_GetStdout(
void) {
27175 PyObject *f = PySys_GetObject((
char *)
"stdout");
27177 PyErr_SetString(PyExc_RuntimeError,
"lost sys.stdout");
27181 static int __Pyx_Print(PyObject* f, PyObject *arg_tuple,
int newline) {
27184 if (!(f = __Pyx_GetStdout()))
27188 for (i=0; i < PyTuple_GET_SIZE(arg_tuple); i++) {
27190 if (PyFile_SoftSpace(f, 1)) {
27191 if (PyFile_WriteString(
" ", f) < 0)
27194 v = PyTuple_GET_ITEM(arg_tuple, i);
27195 if (PyFile_WriteObject(v, f, Py_PRINT_RAW) < 0)
27197 if (PyString_Check(v)) {
27198 char *s = PyString_AsString(v);
27199 Py_ssize_t len = PyString_Size(v);
27201 switch (s[len-1]) {
27203 case '\f':
case '\r':
case '\n':
case '\t':
case '\v':
27204 PyFile_SoftSpace(f, 0);
27212 if (PyFile_WriteString(
"\n", f) < 0)
27214 PyFile_SoftSpace(f, 0);
27223 static int __Pyx_Print(PyObject*
stream, PyObject *arg_tuple,
int newline) {
27224 PyObject* kwargs = 0;
27225 PyObject* result = 0;
27226 PyObject* end_string;
27227 if (unlikely(!__pyx_print)) {
27228 __pyx_print = PyObject_GetAttr(__pyx_b, __pyx_n_s_print);
27233 kwargs = PyDict_New();
27234 if (unlikely(!kwargs))
27236 if (unlikely(PyDict_SetItem(kwargs, __pyx_n_s_file, stream) < 0))
27239 end_string = PyUnicode_FromStringAndSize(
" ", 1);
27240 if (unlikely(!end_string))
27242 if (PyDict_SetItem(kwargs, __pyx_n_s_end, end_string) < 0) {
27243 Py_DECREF(end_string);
27246 Py_DECREF(end_string);
27248 }
else if (!newline) {
27249 if (unlikely(!__pyx_print_kwargs)) {
27250 __pyx_print_kwargs = PyDict_New();
27251 if (unlikely(!__pyx_print_kwargs))
27253 end_string = PyUnicode_FromStringAndSize(
" ", 1);
27254 if (unlikely(!end_string))
27256 if (PyDict_SetItem(__pyx_print_kwargs, __pyx_n_s_end, end_string) < 0) {
27257 Py_DECREF(end_string);
27260 Py_DECREF(end_string);
27262 kwargs = __pyx_print_kwargs;
27264 result = PyObject_Call(__pyx_print, arg_tuple, kwargs);
27265 if (unlikely(kwargs) && (kwargs != __pyx_print_kwargs))
27272 if (kwargs != __pyx_print_kwargs)
27273 Py_XDECREF(kwargs);
27278 #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION < 3
27279 static int __Pyx_PrintOne(PyObject* f, PyObject *o) {
27281 if (!(f = __Pyx_GetStdout()))
27285 if (PyFile_SoftSpace(f, 0)) {
27286 if (PyFile_WriteString(
" ", f) < 0)
27289 if (PyFile_WriteObject(o, f, Py_PRINT_RAW) < 0)
27291 if (PyFile_WriteString(
"\n", f) < 0)
27300 return __Pyx_Print(f, NULL, 0);
27303 static int __Pyx_PrintOne(PyObject* stream, PyObject *o) {
27305 PyObject* arg_tuple = PyTuple_Pack(1, o);
27306 if (unlikely(!arg_tuple))
27308 res = __Pyx_Print(stream, arg_tuple, 1);
27309 Py_DECREF(arg_tuple);
27314 #if CYTHON_CCOMPLEX
27316 static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(
float x,
float y) {
27317 return ::std::complex< float >(x, y);
27320 static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(
float x,
float y) {
27321 return x + y*(__pyx_t_float_complex)_Complex_I;
27325 static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(
float x,
float y) {
27326 __pyx_t_float_complex z;
27333 #if CYTHON_CCOMPLEX
27335 static CYTHON_INLINE
int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
27336 return (a.real == b.real) && (a.imag == b.imag);
27338 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
27339 __pyx_t_float_complex z;
27340 z.real = a.real + b.real;
27341 z.imag = a.imag + b.imag;
27344 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
27345 __pyx_t_float_complex z;
27346 z.real = a.real - b.real;
27347 z.imag = a.imag - b.imag;
27350 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prodf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
27351 __pyx_t_float_complex z;
27352 z.real = a.real * b.real - a.imag * b.imag;
27353 z.imag = a.real * b.imag + a.imag * b.real;
27356 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
27357 __pyx_t_float_complex z;
27358 float denom = b.real * b.real + b.imag * b.imag;
27359 z.real = (a.real * b.real + a.imag * b.imag) / denom;
27360 z.imag = (a.imag * b.real - a.real * b.imag) / denom;
27363 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
27364 __pyx_t_float_complex z;
27369 static CYTHON_INLINE
int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
27370 return (a.real == 0) && (a.imag == 0);
27372 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
27373 __pyx_t_float_complex z;
27379 static CYTHON_INLINE
float __Pyx_c_absf(__pyx_t_float_complex z) {
27380 #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
27381 return sqrtf(z.real*z.real + z.imag*z.imag);
27383 return hypotf(z.real, z.imag);
27386 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
27387 __pyx_t_float_complex z;
27388 float r, lnr, theta, z_r, z_theta;
27389 if (b.imag == 0 && b.real == (
int)b.real) {
27391 float denom = a.real * a.real + a.imag * a.imag;
27392 a.real = a.real / denom;
27393 a.imag = -a.imag / denom;
27396 switch ((
int)b.real) {
27404 z = __Pyx_c_prodf(a, a);
27405 return __Pyx_c_prodf(a, a);
27407 z = __Pyx_c_prodf(a, a);
27408 return __Pyx_c_prodf(z, a);
27410 z = __Pyx_c_prodf(a, a);
27411 return __Pyx_c_prodf(z, z);
27421 r = __Pyx_c_absf(a);
27422 theta = atan2f(a.imag, a.real);
27425 z_r = expf(lnr * b.real - theta * b.imag);
27426 z_theta = theta * b.real + lnr * b.imag;
27427 z.real = z_r * cosf(z_theta);
27428 z.imag = z_r * sinf(z_theta);
27434 #if CYTHON_CCOMPLEX
27436 static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(
double x,
double y) {
27437 return ::std::complex< double >(x, y);
27440 static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(
double x,
double y) {
27441 return x + y*(__pyx_t_double_complex)_Complex_I;
27445 static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(
double x,
double y) {
27446 __pyx_t_double_complex z;
27453 #if CYTHON_CCOMPLEX
27455 static CYTHON_INLINE
int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
27456 return (a.real == b.real) && (a.imag == b.imag);
27458 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
27459 __pyx_t_double_complex z;
27460 z.real = a.real + b.real;
27461 z.imag = a.imag + b.imag;
27464 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
27465 __pyx_t_double_complex z;
27466 z.real = a.real - b.real;
27467 z.imag = a.imag - b.imag;
27470 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod(__pyx_t_double_complex a, __pyx_t_double_complex b) {
27471 __pyx_t_double_complex z;
27472 z.real = a.real * b.real - a.imag * b.imag;
27473 z.imag = a.real * b.imag + a.imag * b.real;
27476 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
27477 __pyx_t_double_complex z;
27478 double denom = b.real * b.real + b.imag * b.imag;
27479 z.real = (a.real * b.real + a.imag * b.imag) / denom;
27480 z.imag = (a.imag * b.real - a.real * b.imag) / denom;
27483 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
27484 __pyx_t_double_complex z;
27489 static CYTHON_INLINE
int __Pyx_c_is_zero(__pyx_t_double_complex a) {
27490 return (a.real == 0) && (a.imag == 0);
27492 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
27493 __pyx_t_double_complex z;
27499 static CYTHON_INLINE
double __Pyx_c_abs(__pyx_t_double_complex z) {
27500 #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
27501 return sqrt(z.real*z.real + z.imag*z.imag);
27503 return hypot(z.real, z.imag);
27506 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
27507 __pyx_t_double_complex z;
27508 double r, lnr, theta, z_r, z_theta;
27509 if (b.imag == 0 && b.real == (
int)b.real) {
27511 double denom = a.real * a.real + a.imag * a.imag;
27512 a.real = a.real / denom;
27513 a.imag = -a.imag / denom;
27516 switch ((
int)b.real) {
27524 z = __Pyx_c_prod(a, a);
27525 return __Pyx_c_prod(a, a);
27527 z = __Pyx_c_prod(a, a);
27528 return __Pyx_c_prod(z, a);
27530 z = __Pyx_c_prod(a, a);
27531 return __Pyx_c_prod(z, z);
27541 r = __Pyx_c_abs(a);
27542 theta = atan2(a.imag, a.real);
27545 z_r = exp(lnr * b.real - theta * b.imag);
27546 z_theta = theta * b.real + lnr * b.imag;
27547 z.real = z_r * cos(z_theta);
27548 z.imag = z_r * sin(z_theta);
27554 static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list,
int level) {
27555 PyObject *empty_list = 0;
27556 PyObject *module = 0;
27557 PyObject *global_dict = 0;
27558 PyObject *empty_dict = 0;
27560 #if PY_VERSION_HEX < 0x03030000
27561 PyObject *py_import;
27562 py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
27569 empty_list = PyList_New(0);
27574 global_dict = PyModule_GetDict(__pyx_m);
27577 empty_dict = PyDict_New();
27581 #if PY_MAJOR_VERSION >= 3
27583 if (strchr(__Pyx_MODULE_NAME,
'.')) {
27584 #if PY_VERSION_HEX < 0x03030000
27585 PyObject *py_level = PyInt_FromLong(1);
27588 module = PyObject_CallFunctionObjArgs(py_import,
27589 name, global_dict, empty_dict, list, py_level, NULL);
27590 Py_DECREF(py_level);
27592 module = PyImport_ImportModuleLevelObject(
27593 name, global_dict, empty_dict, list, 1);
27596 if (!PyErr_ExceptionMatches(PyExc_ImportError))
27605 #if PY_VERSION_HEX < 0x03030000
27606 PyObject *py_level = PyInt_FromLong(level);
27609 module = PyObject_CallFunctionObjArgs(py_import,
27610 name, global_dict, empty_dict, list, py_level, NULL);
27611 Py_DECREF(py_level);
27613 module = PyImport_ImportModuleLevelObject(
27614 name, global_dict, empty_dict, list, level);
27619 #if PY_VERSION_HEX < 0x03030000
27620 Py_XDECREF(py_import);
27622 Py_XDECREF(empty_list);
27623 Py_XDECREF(empty_dict);
27627 static CYTHON_INLINE
long __Pyx_PyInt_As_long(PyObject *x) {
27628 const long neg_one = (long) -1, const_zero = 0;
27629 const int is_unsigned = neg_one > const_zero;
27630 #if PY_MAJOR_VERSION < 3
27631 if (likely(PyInt_Check(x))) {
27632 if (
sizeof(
long) <
sizeof(long)) {
27633 __PYX_VERIFY_RETURN_INT(
long,
long, PyInt_AS_LONG(x))
27635 long val = PyInt_AS_LONG(x);
27636 if (is_unsigned && unlikely(val < 0)) {
27637 goto raise_neg_overflow;
27643 if (likely(PyLong_Check(x))) {
27645 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
27646 #if CYTHON_USE_PYLONG_INTERNALS
27647 switch (Py_SIZE(x)) {
27649 case 1: __PYX_VERIFY_RETURN_INT(
long, digit, ((PyLongObject*)x)->ob_digit[0]);
27653 if (unlikely(Py_SIZE(x) < 0)) {
27654 goto raise_neg_overflow;
27656 if (
sizeof(
long) <=
sizeof(
unsigned long)) {
27657 __PYX_VERIFY_RETURN_INT(
long,
unsigned long, PyLong_AsUnsignedLong(x))
27658 }
else if (
sizeof(
long) <=
sizeof(
unsigned long long)) {
27659 __PYX_VERIFY_RETURN_INT(
long,
unsigned long long, PyLong_AsUnsignedLongLong(x))
27662 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
27663 #if CYTHON_USE_PYLONG_INTERNALS
27664 switch (Py_SIZE(x)) {
27666 case 1: __PYX_VERIFY_RETURN_INT(
long, digit, +(((PyLongObject*)x)->ob_digit[0]));
27667 case -1: __PYX_VERIFY_RETURN_INT(
long, sdigit, -(sdigit) ((PyLongObject*)x)->ob_digit[0]);
27671 if (
sizeof(
long) <=
sizeof(
long)) {
27672 __PYX_VERIFY_RETURN_INT(
long,
long, PyLong_AsLong(x))
27673 }
else if (
sizeof(
long) <=
sizeof(
long long)) {
27674 __PYX_VERIFY_RETURN_INT(
long,
long long, PyLong_AsLongLong(x))
27678 #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
27679 PyErr_SetString(PyExc_RuntimeError,
27680 "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
27683 PyObject *v = __Pyx_PyNumber_Int(x);
27684 #if PY_MAJOR_VERSION < 3
27685 if (likely(v) && !PyLong_Check(v)) {
27687 v = PyNumber_Long(tmp);
27692 int one = 1;
int is_little = (int)*(
unsigned char *)&one;
27693 unsigned char *bytes = (
unsigned char *)&val;
27694 int ret = _PyLong_AsByteArray((PyLongObject *)v,
27695 bytes,
sizeof(val),
27696 is_little, !is_unsigned);
27706 PyObject *tmp = __Pyx_PyNumber_Int(x);
27707 if (!tmp)
return (
long) -1;
27708 val = __Pyx_PyInt_As_long(tmp);
27713 PyErr_SetString(PyExc_OverflowError,
27714 "value too large to convert to long");
27716 raise_neg_overflow:
27717 PyErr_SetString(PyExc_OverflowError,
27718 "can't convert negative value to long");
27722 static int __Pyx_check_binary_version(
void) {
27723 char ctversion[4], rtversion[4];
27724 PyOS_snprintf(ctversion, 4,
"%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
27725 PyOS_snprintf(rtversion, 4,
"%s", Py_GetVersion());
27726 if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
27728 PyOS_snprintf(message,
sizeof(message),
27729 "compiletime version %s of module '%.100s' "
27730 "does not match runtime version %s",
27731 ctversion, __Pyx_MODULE_NAME, rtversion);
27732 return PyErr_WarnEx(NULL, message, 1);
27737 #ifndef __PYX_HAVE_RT_ImportModule
27738 #define __PYX_HAVE_RT_ImportModule
27739 static PyObject *__Pyx_ImportModule(
const char *name) {
27740 PyObject *py_name = 0;
27741 PyObject *py_module = 0;
27742 py_name = __Pyx_PyIdentifier_FromString(name);
27745 py_module = PyImport_Import(py_name);
27746 Py_DECREF(py_name);
27749 Py_XDECREF(py_name);
27754 #ifndef __PYX_HAVE_RT_ImportType
27755 #define __PYX_HAVE_RT_ImportType
27756 static PyTypeObject *__Pyx_ImportType(
const char *module_name,
const char *class_name,
27757 size_t size,
int strict)
27759 PyObject *py_module = 0;
27760 PyObject *result = 0;
27761 PyObject *py_name = 0;
27763 Py_ssize_t basicsize;
27764 #ifdef Py_LIMITED_API
27765 PyObject *py_basicsize;
27767 py_module = __Pyx_ImportModule(module_name);
27770 py_name = __Pyx_PyIdentifier_FromString(class_name);
27773 result = PyObject_GetAttr(py_module, py_name);
27774 Py_DECREF(py_name);
27776 Py_DECREF(py_module);
27780 if (!PyType_Check(result)) {
27781 PyErr_Format(PyExc_TypeError,
27782 "%.200s.%.200s is not a type object",
27783 module_name, class_name);
27786 #ifndef Py_LIMITED_API
27787 basicsize = ((PyTypeObject *)result)->tp_basicsize;
27789 py_basicsize = PyObject_GetAttrString(result,
"__basicsize__");
27792 basicsize = PyLong_AsSsize_t(py_basicsize);
27793 Py_DECREF(py_basicsize);
27795 if (basicsize == (Py_ssize_t)-1 && PyErr_Occurred())
27798 if (!strict && (
size_t)basicsize > size) {
27799 PyOS_snprintf(warning,
sizeof(warning),
27800 "%s.%s size changed, may indicate binary incompatibility",
27801 module_name, class_name);
27802 if (PyErr_WarnEx(NULL, warning, 0) < 0)
goto bad;
27804 else if ((
size_t)basicsize != size) {
27805 PyErr_Format(PyExc_ValueError,
27806 "%.200s.%.200s has the wrong size, try recompiling",
27807 module_name, class_name);
27810 return (PyTypeObject *)result;
27812 Py_XDECREF(py_module);
27813 Py_XDECREF(result);
27818 static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
27820 #if PY_MAJOR_VERSION < 3
27821 if (t->is_unicode) {
27822 *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
27823 }
else if (t->intern) {
27824 *t->p = PyString_InternFromString(t->s);
27826 *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
27829 if (t->is_unicode | t->is_str) {
27831 *t->p = PyUnicode_InternFromString(t->s);
27832 }
else if (t->encoding) {
27833 *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
27835 *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
27838 *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
27848 static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(
const char* c_str) {
27849 return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
27851 static CYTHON_INLINE
char* __Pyx_PyObject_AsString(PyObject* o) {
27853 return __Pyx_PyObject_AsStringAndSize(o, &ignore);
27855 static CYTHON_INLINE
char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
27856 #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
27858 #
if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
27859 __Pyx_sys_getdefaultencoding_not_ascii &&
27861 PyUnicode_Check(o)) {
27862 #if PY_VERSION_HEX < 0x03030000
27864 PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
27865 if (!defenc)
return NULL;
27866 defenc_c = PyBytes_AS_STRING(defenc);
27867 #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
27869 char* end = defenc_c + PyBytes_GET_SIZE(defenc);
27871 for (c = defenc_c; c < end; c++) {
27872 if ((
unsigned char) (*c) >= 128) {
27873 PyUnicode_AsASCIIString(o);
27879 *length = PyBytes_GET_SIZE(defenc);
27882 if (__Pyx_PyUnicode_READY(o) == -1)
return NULL;
27883 #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
27884 if (PyUnicode_IS_ASCII(o)) {
27885 *length = PyUnicode_GET_LENGTH(o);
27886 return PyUnicode_AsUTF8(o);
27888 PyUnicode_AsASCIIString(o);
27892 return PyUnicode_AsUTF8AndSize(o, length);
27897 #if !CYTHON_COMPILING_IN_PYPY
27898 if (PyByteArray_Check(o)) {
27899 *length = PyByteArray_GET_SIZE(o);
27900 return PyByteArray_AS_STRING(o);
27905 int r = PyBytes_AsStringAndSize(o, &result, length);
27906 if (unlikely(r < 0)) {
27913 static CYTHON_INLINE
int __Pyx_PyObject_IsTrue(PyObject* x) {
27914 int is_true = x == Py_True;
27915 if (is_true | (x == Py_False) | (x == Py_None))
return is_true;
27916 else return PyObject_IsTrue(x);
27918 static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
27919 PyNumberMethods *m;
27920 const char *name = NULL;
27921 PyObject *res = NULL;
27922 #if PY_MAJOR_VERSION < 3
27923 if (PyInt_Check(x) || PyLong_Check(x))
27925 if (PyLong_Check(x))
27927 return Py_INCREF(x), x;
27928 m = Py_TYPE(x)->tp_as_number;
27929 #if PY_MAJOR_VERSION < 3
27930 if (m && m->nb_int) {
27932 res = PyNumber_Int(x);
27934 else if (m && m->nb_long) {
27936 res = PyNumber_Long(x);
27939 if (m && m->nb_int) {
27941 res = PyNumber_Long(x);
27945 #if PY_MAJOR_VERSION < 3
27946 if (!PyInt_Check(res) && !PyLong_Check(res)) {
27948 if (!PyLong_Check(res)) {
27950 PyErr_Format(PyExc_TypeError,
27951 "__%.4s__ returned non-%.4s (type %.200s)",
27952 name, name, Py_TYPE(res)->tp_name);
27957 else if (!PyErr_Occurred()) {
27958 PyErr_SetString(PyExc_TypeError,
27959 "an integer is required");
27963 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
27966 #if PY_MAJOR_VERSION < 3
27967 if (likely(PyInt_CheckExact(b)))
27968 return PyInt_AS_LONG(b);
27970 if (likely(PyLong_CheckExact(b))) {
27971 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
27972 #if CYTHON_USE_PYLONG_INTERNALS
27973 switch (Py_SIZE(b)) {
27974 case -1:
return -(sdigit)((PyLongObject*)b)->ob_digit[0];
27976 case 1:
return ((PyLongObject*)b)->ob_digit[0];
27980 return PyLong_AsSsize_t(b);
27982 x = PyNumber_Index(b);
27984 ival = PyInt_AsSsize_t(x);
27988 static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(
size_t ival) {
27989 return PyInt_FromSize_t(ival);
int stretchlin_force_set_params(int bond_type, double r0, double kslin)
set the parameters for the stretchlin_force potential
int stretching_force_set_params(int bond_type, double r0, double ks)
set the parameters for the stretching_force potential
int subt_lj_set_params(int bond_type, double k, double r)
set the parameters for the subtract LJ potential
int dihedral_set_params(int bond_type, int mult, double bend, double phase)
set dihedral parameters
int volume_force_set_params(int bond_type, double V0, double kv)
set parameters for the VOLUME_FORCE potential.
Routines to calculate the energy and/or force for a particle pair or bonds via interpolating from loo...
Routines to calculate the AREA_FORCE_GLOBAL energy or/and and force for a particle triple (triangle f...
Routines to calculate the STRETCHING_FORCE Energy or/and STRETCHING_FORCE force for a particle pair...
field containing the interaction parameters for nonbonded interactions.
Routines to calculate the angle energy or/and and force for a particle triple.
int virtual_set_params(int bond_type)
Routines to calculate the HARMONIC Energy or/and HARMONIC force for a particle pair.
Routines to calculate the generalized lennard jones energy and/or force for a particle pair...
int angle_cosine_set_params(int bond_type, double bend, double phi0)
set parameters for the angle potential.
Routines to subtract the LENNARD-JONES Energy and/or the LENNARD-JONES force for a particle pair...
int ljgen_set_params(int part_type_a, int part_type_b, double eps, double sig, double cut, double shift, double offset, int a1, int a2, double b1, double b2, double cap_radius, double lambda, double softrad)
Small functions that are useful not only for one modul.
int overlapped_bonded_set_params(int bond_type, OverlappedBondedInteraction overlap_type, char *filename)
Bonded overlapped potentials: Reads overlapped parameters from a file.
RATTLE Algorithm (Rattle: A "Velocity" Version of the Shake Algorithm for Molecular Dynamics Calculat...
cudaStream_t stream[1]
cuda streams for parallel computing on cpu and gpu
OverlappedBondedInteraction
Specify overlapped bonded interactions.
int lennard_jones_set_params(int part_type_a, int part_type_b, double eps, double sig, double cut, double shift, double offset, double cap_radius, double min)
IA_parameters * get_ia_param(int i, int j)
get interaction parameters between particle sorts i and j
int tabulated_bonded_set_params(int bond_type, TabulatedBondedInteraction tab_type, char *filename)
Bonded tabulated potentials: Reads tabulated parameters and force and energy tables from a file...
Routines to calculate the dihedral energy or/and and force for a particle quadruple.
Domain decomposition for parallel computing.
int bending_force_set_params(int bond_type, double phi0, double kb)
set bending_force parameters
int area_force_global_set_params(int bond_type, double A0_g, double ka_g)
set parameters for the AREA_FORCE_GLOBAL potential.
Bonded_ia_parameters * bonded_ia_params
Field containing the paramters of the bonded ia types.
int angle_harmonic_set_params(int bond_type, double bend, double phi0)
set parameters for the angle potential.
Routines to calculate the HARMONIC Energy or/and HARMONIC force for a particle pair.
Routines to calculate the energy and/or force for bonds, angles and dihedrals as a sum of N functions...
int harmonic_dumbbell_set_params(int bond_type, double k1, double k2, double r, double r_cut)
set the parameters for the harmonic potential
Routines to calculate the FENE Energy or/and FENE force for a particle pair.
Routines to calculate the lennard jones energy and/or force for a particle pair.
int forcecap_set_params(double forcecap)
Routines to calculate the bending_force energy or/and and force for a particle quadruple (two triangl...
Routines to calculate the angle energy or/and and force for a particle triple.
int harmonic_set_params(int bond_type, double k, double r, double r_cut)
set the parameters for the harmonic potential
Routines to calculate the angle energy or/and and force for a particle triple.
int fene_set_params(int bond_type, double k, double drmax, double r0)
set the parameters for the fene potential
Various procedures concerning interactions between particles.
Routines to calculate the VOLUME_FORCE energy or/and and force for a particle triple (triangle from m...
Routines to calculate the AREA_FORCE_LOCAL energy or/and and force for a particle triple (triangle fr...
double force_cap
For the warmup you can cap the singularity of various potentials.
TabulatedBondedInteraction
Specify tabulated bonded interactions.
Routines to calculate the STRETCHLIN_FORCE Energy or/and STRETCHLIN_FORCE force for a particle pair...
int angle_cossquare_set_params(int bond_type, double bend, double phi0)
set parameters for the angle potential.
int area_force_local_set_params(int bond_type, double A0_l, double ka_l)
set parameters for the AREA_FORCE_LOCAL potential.